ldap: fix objectclass order for new entries (#7436)

This commit is contained in:
Serghei Mihai 2015-06-01 17:33:02 +02:00
parent 2d3f213815
commit 9a9a065460
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def create_radius_user(**kwargs):
password = uuid4().get_hex()
connection = get_ldap_connection()
if connection:
attrs = {'objectClass': ['radiusprofile', 'radiusObjectProfile'],
attrs = {'objectClass': ['radiusObjectProfile', 'radiusprofile'],
'uid': username,
'userPassword': password,
'cn': username}