summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Mihai <smihai@entrouvert.com>2015-06-01 15:33:02 (GMT)
committerSerghei Mihai <smihai@entrouvert.com>2015-06-01 15:34:17 (GMT)
commit9a9a0654608b1201a9d4dc2c4356604a6b8e29d0 (patch)
tree6e25ad4243878822ca00123b24b80561053ac3a9
parent2d3f213815e4ed6c859abac07462da28798cb0c6 (diff)
downloadu-auth-9a9a0654608b1201a9d4dc2c4356604a6b8e29d0.zip
u-auth-9a9a0654608b1201a9d4dc2c4356604a6b8e29d0.tar.gz
u-auth-9a9a0654608b1201a9d4dc2c4356604a6b8e29d0.tar.bz2
ldap: fix objectclass order for new entries (#7436)
-rw-r--r--uauth/utils.py2
1 files changed, 1 insertions, 1 deletions
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}