From: Kurt Zeilenga Date: Tue, 30 Dec 2003 21:09:01 +0000 (+0000) Subject: clarify meaning of strongAuthRequired X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~74 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d44c1d999d90ef02dba8102f436238fbff4d59f5;p=openldap clarify meaning of strongAuthRequired --- diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 9a17e4f10b..4dcb75e425 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -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; }