Bugfix: use correct setting name

This commit is contained in:
PCoder 2019-02-03 13:43:08 +01:00
parent fd8f5fc1d3
commit 1bd4b42fe9

View file

@ -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