From: Pierangelo Masarati Date: Sat, 26 Oct 2002 10:05:35 +0000 (+0000) Subject: use more appropriate error code X-Git-Tag: NO_SLAP_OP_BLOCKS~837 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=69343add5ac17c2300e256c85acf3279298a0fbe;p=openldap use more appropriate error code --- diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index a54225e6bb..124ec7c422 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -980,7 +980,7 @@ backend_check_restrictions( if ( ! ( conn->c_listener->sl_perms & S_IXUSR ) ) { /* no "x" mode means bind required */ *text = "bind required on this listener"; - return LDAP_CONFIDENTIALITY_REQUIRED; + return LDAP_STRONG_AUTH_REQUIRED; } }