diff options
author | Yaron Yogev <yaronyogev@gmail.com> | 2017-08-08 12:48:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-08 12:48:08 +0000 |
commit | 16ef24e075255addbcdd78671fa32eacb484389e (patch) | |
tree | 67f335a33fb97cc7a8cf108ee642bc7d397043d3 | |
parent | 3b6d370605e1f3c5187d6dc84eeb5f6c0eee4f72 (diff) | |
parent | ec3ce513b0f22c9cfd4261886640a7104560ad0a (diff) |
Merge "fix syntax error"
-rw-r--r-- | app/api/backends/ldap_access.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/api/backends/ldap_access.py b/app/api/backends/ldap_access.py index a998656..36914ca 100644 --- a/app/api/backends/ldap_access.py +++ b/app/api/backends/ldap_access.py @@ -74,7 +74,7 @@ class LDAPAccess(metaclass=Singleton): if not self.server: self.server = self.connect_ldap_server() - user_dn = self.ldap_params['user_id_attribute'] + "=" + + user_dn = self.ldap_params['user_id_attribute'] + "=" + \ username + "," + self.ldap_params['user_tree_dn'] connection = Connection(self.server, user=user_dn, password=pwd) # validate the user by binding |