Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1014
anon_ldap.diff
Active
Public
Actions
Authored by
epriestley
on Dec 2 2013, 5:37 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F86712: anon_ldap.diff
Dec 2 2013, 5:37 PM
2013-12-02 17:37:00 (UTC+0)
Subscribers
None
diff --git a/src/auth/PhutilAuthAdapterLDAP.php b/src/auth/PhutilAuthAdapterLDAP.php
index 5cf13fb..a739fe5 100644
--- a/src/auth/PhutilAuthAdapterLDAP.php
+++ b/src/auth/PhutilAuthAdapterLDAP.php
@@ -218,6 +218,8 @@ final class PhutilAuthAdapterLDAP extends PhutilAuthAdapter {
$this->bindLDAP($conn, $distinguished_name, $login_pass);
+ $this->bindLDAP($conn, $this->anonymousUsername, $this->anonymousPassword);
+
return $this->searchLDAPForUser($this->searchAttribute, $login_user);
}
Event Timeline
Log In to Comment