mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
use more appropriate error code
This commit is contained in:
parent
8558b8808e
commit
69343add5a
@ -980,7 +980,7 @@ backend_check_restrictions(
|
|||||||
if ( ! ( conn->c_listener->sl_perms & S_IXUSR ) ) {
|
if ( ! ( conn->c_listener->sl_perms & S_IXUSR ) ) {
|
||||||
/* no "x" mode means bind required */
|
/* no "x" mode means bind required */
|
||||||
*text = "bind required on this listener";
|
*text = "bind required on this listener";
|
||||||
return LDAP_CONFIDENTIALITY_REQUIRED;
|
return LDAP_STRONG_AUTH_REQUIRED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user