We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 75ecae2 + 38a8306 commit a7193ceCopy full SHA for a7193ce
apps/user_ldap/lib/Connection.php
@@ -675,7 +675,8 @@ public function bind() {
675
ILogger::WARN);
676
677
// Set to failure mode, if LDAP error code is not LDAP_SUCCESS or LDAP_INVALID_CREDENTIALS
678
- if($errno !== 0x00 && $errno !== 0x31) {
+ // or (needed for Apple Open Directory:) LDAP_INSUFFICIENT_ACCESS
679
+ if($errno !== 0 && $errno !== 49 && $errno !== 50) {
680
$this->ldapConnectionRes = null;
681
}
682
0 commit comments