Browse Source

fix name error

master
Edoardo Putti 7 years ago
parent
commit
70378a114c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lilikusers.py

+ 1
- 1
lilikusers.py View File

@ -68,7 +68,7 @@ class LILiK_USER(object):
modifiers = {user_cn: {}}
if 'userPassword' in diff.added() and new_lilik_user['userPassword']:
action = ldap3.MODIFY_REPLACE
hashed = ldap3.utils.hashed(HASHED_SALTED_SHA, new_lilik_user['userPassword'])
hashed = ldap3.utils.hashed(ldap3.HASHED_SALTED_SHA, new_lilik_user['userPassword'])
modifiers[user_cn]['userPassword'] = [(action, [hashed])]
for changed in diff.changed():
if changed == 'services':


Loading…
Cancel
Save