use more appropriate error code

This commit is contained in:
Pierangelo Masarati 2002-10-26 10:05:35 +00:00
parent 8558b8808e
commit 69343add5a

View File

@ -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;
}
}