diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 604b3e99..5f32434c 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1953,7 +1953,7 @@ class BaseProprietaire(BaseClasseCrans): args+= self._data['uid'][0] r = prompt(u"Attribuer tout de suite un mot de passe ? [O/N]", "O") if r == 'O' or r == 'o': - change_password(self.dn) + change_password(login=self.compte()) else: ret += coul(u' Il faudra penser à attribuer un mot de passe\n', 'jaune')