diff options
Diffstat (limited to 'account.py')
-rw-r--r-- | account.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -131,12 +131,12 @@ class AccountService: dn = 'uid=%s,ou=users,%s' % (account.uid, self.base_dn) attr = [ ('objectClass', ['top','inetOrgPerson']), ('uid', account.uid), - ('sn', ' '), ('cn', ' '), ('mail', account.mail), - ('userPassword', account.password) + ('sn', ' '), ('cn', ' '), ('mail', account.mail) ] self.connection.add_s(dn, attr) account.dn = dn + account.new_password_root = (None,account.password) self._alter_passwords(account) self._unbind() |