Browse Source

Bugfix: use correct setting name

master
PCoder 4 years ago
parent
commit
1bd4b42fe9
  1. 2
      users/ldap_funcs.py

2
users/ldap_funcs.py

@ -44,7 +44,7 @@ def create_user(user, password, firstname, lastname, email):
w[0].cn = firstname + " " + lastname
w[0].mail = email
w[0].userPassword = password
w[0].gidNumber = settings.IPV6_WORK_USER_GROUP
w[0].gidNumber = settings.LDAP_IPV6_WORK_USER_GROUP
w[0].uidNumber = uidNumber
w[0].homeDirectory = "/home/" + user

Loading…
Cancel
Save