Page MenuHomePhabricator

anon_ldap.diff

Authored By
epriestley
Dec 2 2013, 5:37 PM
Size
511 B
Referenced Files
None
Subscribers
None

anon_ldap.diff

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

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)

Event Timeline