diff options
author | Erik Johnston <erik@matrix.org> | 2016-11-08 14:43:49 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-11-08 14:43:49 +0000 |
commit | e6651e804693edd575370157ab3fef08d6952186 (patch) | |
tree | 5eec467445186c011b2c1a6f083d9d852f51f869 /synapse/util | |
parent | Merge pull request #1615 from matrix-org/erikj/limit_prev_events (diff) | |
parent | Merge branch 'erikj/ldap3_auth' (diff) | |
download | synapse-e6651e804693edd575370157ab3fef08d6952186.tar.xz |
Merge branch 'master' of github.com:matrix-org/synapse into develop
Diffstat (limited to 'synapse/util')
-rw-r--r-- | synapse/util/ldap_auth_provider.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/util/ldap_auth_provider.py b/synapse/util/ldap_auth_provider.py index f852e9b037..1b989248fb 100644 --- a/synapse/util/ldap_auth_provider.py +++ b/synapse/util/ldap_auth_provider.py @@ -236,7 +236,8 @@ class LdapAuthProvider(object): value=localpart, base=self.ldap_base ) - conn = ldap3.Connection(server, bind_dn, password) + conn = ldap3.Connection(server, bind_dn, password, + authentication=ldap3.AUTH_SIMPLE) logger.debug( "Established LDAP connection in simple bind mode: %s", conn |