Révision 9a9a0654
Ajouté par Serghei Mihai (congés, retour 15/05) il y a presque 9 ans
uauth/utils.py | ||
---|---|---|
48 | 48 |
password = uuid4().get_hex() |
49 | 49 |
connection = get_ldap_connection() |
50 | 50 |
if connection: |
51 |
attrs = {'objectClass': ['radiusprofile', 'radiusObjectProfile'],
|
|
51 |
attrs = {'objectClass': ['radiusObjectProfile', 'radiusprofile'],
|
|
52 | 52 |
'uid': username, |
53 | 53 |
'userPassword': password, |
54 | 54 |
'cn': username} |
Formats disponibles : Unified diff
ldap: fix objectclass order for new entries (#7436)