Set new user's company to Spaceport to help filter

This commit is contained in:
Tanner Collin 2020-02-08 19:51:51 -07:00
parent 4febe1ce47
commit a6ca9a1a6e

View File

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