Skip to content
Snippets Groups Projects
Commit 30b757d9 authored by Christian Dresen's avatar Christian Dresen
Browse files

[WarpAuth] Adapted LDAP config

parent 80b6cc31
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ class ActivationToken(models.Model):
class LdapUser(ldapdb.models.Model):
base_dn = "ou=users,dc=warpzone,dc=ms"
object_classes = ['posixAccount', 'inetOrgPerson']
object_classes = ['inetOrgPerson']
uid = CharField(db_column='uid', unique=True, primary_key=True)
first_name = CharField(db_column='givenName', max_length=200)
......@@ -35,9 +35,6 @@ class LdapUser(ldapdb.models.Model):
email = CharField(db_column='mail', max_length=200)
cn = CharField(db_column='cn', max_length=200)
card_id = CharField(db_column='employeeNumber', max_length=200)
uidNumber = CharField(db_column='uidNumber', max_length=200)
gidNumber = CharField(db_column='gidNumber', max_length=200)
homeDirectory = CharField(db_column='homeDirectory', max_length=200)
def __str__(self):
return self.uid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment