summaryrefslogtreecommitdiffstats
path: root/ipaserver/rpcserver.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2013-10-31 16:53:44 +0000
committerPetr Viktorin <pviktori@redhat.com>2013-12-16 14:44:19 +0100
commitbc3f3381c6bf0b4941889b775025a60f56318551 (patch)
tree1bb64b48ed61420276beec92bb3f20bf38afa758 /ipaserver/rpcserver.py
parentacede580e1f617af3f5205a490184781dd35b481 (diff)
downloadfreeipa-bc3f3381c6bf0b4941889b775025a60f56318551.tar.gz
freeipa-bc3f3381c6bf0b4941889b775025a60f56318551.tar.xz
freeipa-bc3f3381c6bf0b4941889b775025a60f56318551.zip
Convert remaining backend code to LDAPEntry API.
Diffstat (limited to 'ipaserver/rpcserver.py')
-rw-r--r--ipaserver/rpcserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/rpcserver.py b/ipaserver/rpcserver.py
index a37d3cd0f..92ab17dfc 100644
--- a/ipaserver/rpcserver.py
+++ b/ipaserver/rpcserver.py
@@ -923,7 +923,7 @@ class login_password(Backend, KerberosSession, HTTP_Status):
conn.connect(bind_dn=dn, bind_pw=password)
# password is ok, must be expired, lets double-check
- (userdn, entry_attrs) = conn.get_entry(dn,
+ entry_attrs = conn.get_entry(dn,
['krbpasswordexpiration'])
if 'krbpasswordexpiration' in entry_attrs:
expiration = entry_attrs['krbpasswordexpiration'][0]