From 9a9a0654608b1201a9d4dc2c4356604a6b8e29d0 Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Mon, 1 Jun 2015 17:33:02 +0200 Subject: [PATCH] ldap: fix objectclass order for new entries (#7436) --- uauth/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}