summaryrefslogtreecommitdiffstats
path: root/ipa_server/plugins
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-10-20 22:41:53 -0400
committerRob Crittenden <rcritten@redhat.com>2008-10-20 22:41:53 -0400
commit8c54f730c0a156543f23ca90b6220ddd89d76dcc (patch)
tree587f1a53890b027cecc3745b3039c249abbdb31f /ipa_server/plugins
parentd615e4dafb9c4f3d737143f826ed20be918317fe (diff)
downloadfreeipa-8c54f730c0a156543f23ca90b6220ddd89d76dcc.tar.gz
freeipa-8c54f730c0a156543f23ca90b6220ddd89d76dcc.tar.xz
freeipa-8c54f730c0a156543f23ca90b6220ddd89d76dcc.zip
Framework for doing password changes
Need mechanism to prompt for new password twice and verify they are the same
Diffstat (limited to 'ipa_server/plugins')
-rw-r--r--ipa_server/plugins/b_ldap.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipa_server/plugins/b_ldap.py b/ipa_server/plugins/b_ldap.py
index 3a470b3f7..e63865bbf 100644
--- a/ipa_server/plugins/b_ldap.py
+++ b/ipa_server/plugins/b_ldap.py
@@ -143,6 +143,9 @@ class ldap(CrudBackend):
return (exact_match_filter, partial_match_filter)
+ def modify_password(self, dn, **kw):
+ return servercore.modify_password(dn, kw.get('oldpass'), kw.get('newpass'))
+
# The CRUD operations
def create(self, **kw):