Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F86712
anon_ldap.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
epriestley
Dec 2 2013, 5:37 PM
2013-12-02 17:37:00 (UTC+0)
Size
511 B
Referenced Files
None
Subscribers
None
anon_ldap.diff
View Options
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);
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/ha/4e/kffd4b7dnzae6sge
Default Alt Text
anon_ldap.diff (511 B)
Attached To
Mode
P1014 anon_ldap.diff
Attached
Detach File
Event Timeline
Log In to Comment