Set new user's company to Spaceport to help filter
This commit is contained in:
parent
4febe1ce47
commit
a6ca9a1a6e
|
@ -61,6 +61,7 @@ def create_user(first, last, username, email, password):
|
||||||
('DisplayName', [full_name.encode()]),
|
('DisplayName', [full_name.encode()]),
|
||||||
('userAccountControl', [b'514']),
|
('userAccountControl', [b'514']),
|
||||||
('mail', [email.encode()]),
|
('mail', [email.encode()]),
|
||||||
|
('company', [b'Spaceport']),
|
||||||
]
|
]
|
||||||
|
|
||||||
ldap_conn.add_s(dn, ldif)
|
ldap_conn.add_s(dn, ldif)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user