diff --git a/www/web/warpauth/models.py b/www/web/warpauth/models.py index f24ff00cef6d555dd951d631884b3909173213b5..babbeff353266dfd2bfdba41ecc73c21cd8be563 100644 --- a/www/web/warpauth/models.py +++ b/www/web/warpauth/models.py @@ -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