diff options
| author | Yuriy Taraday <yorik.sar@gmail.com> | 2011-06-24 15:26:15 +0400 |
|---|---|---|
| committer | Yuriy Taraday <yorik.sar@gmail.com> | 2011-06-24 15:26:15 +0400 |
| commit | 60e520bca98d5c4b7ba4f2cc7465982392fc3855 (patch) | |
| tree | 7a1f43eca80ba89bd9b96f751046524a955f347b | |
| parent | 178ddd56da98f5baf5e9d232bdab8d5565e7e98b (diff) | |
Use simple_bind_s instead of bind_s
| -rw-r--r-- | nova/auth/ldapdriver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/auth/ldapdriver.py b/nova/auth/ldapdriver.py index 4af91b613..bc37d2d87 100644 --- a/nova/auth/ldapdriver.py +++ b/nova/auth/ldapdriver.py @@ -125,7 +125,7 @@ class LDAPWrapper(object): def connect(self): try: self.conn = self.ldap.initialize(self.url) - self.conn.bind_s(self.user, self.password) + self.conn.simple_bind_s(self.user, self.password) except self.ldap.SERVER_DOWN: self.conn = None raise |
