diff --git a/uauth/utils.py b/uauth/utils.py index 41f8590..96af3cf 100644 --- a/uauth/utils.py +++ b/uauth/utils.py @@ -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}