Revision 008a36de
Added by Serghei Mihai almost 10 years ago
uauth/utils.py | ||
---|---|---|
34 | 34 |
def create_radius_user(username, password, **kwargs): |
35 | 35 |
connection = get_connection() |
36 | 36 |
if connection: |
37 |
attrs = {'objectClass': ['radiusObjectProfile'], |
|
37 |
attrs = {'objectClass': ['radiusprofile', 'radiusObjectProfile'],
|
|
38 | 38 |
'uid': username, |
39 | 39 |
'userPassword': password, |
40 | 40 |
'cn': username} |
Also available in: Unified diff
user schemas update