]> git.sur5r.net Git - openldap/commitdiff
clarify meaning of strongAuthRequired
authorKurt Zeilenga <kurt@openldap.org>
Tue, 30 Dec 2003 21:09:01 +0000 (21:09 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 30 Dec 2003 21:09:01 +0000 (21:09 +0000)
servers/slapd/backend.c

index 9a17e4f10b4df1bb5fc8cba5e24755ce1ffbea09..4dcb75e42580270aa5b633b3390b9494cbbfc99e 100644 (file)
@@ -1027,9 +1027,10 @@ backend_check_restrictions(
                if( requires & SLAP_REQUIRE_STRONG ) {
                        /* should check mechanism */
                        if( ( op->o_transport_ssf < ssf->sss_transport
-                               && op->o_authtype == LDAP_AUTH_SIMPLE ) || op->o_dn.bv_len == 0 )
+                               && op->o_authtype == LDAP_AUTH_SIMPLE )
+                               || op->o_dn.bv_len == 0 )
                        {
-                               rs->sr_text = "strong authentication required";
+                               rs->sr_text = "strong(er) authentication required";
                                rs->sr_err = LDAP_STRONG_AUTH_REQUIRED;
                                return rs->sr_err;
                        }