From a6ca9a1a6edbf29ebf9f6cf30a8648e7b373c08f Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sat, 8 Feb 2020 19:51:51 -0700 Subject: [PATCH] Set new user's company to Spaceport to help filter --- ldapserver/ldap_functions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ldapserver/ldap_functions.py b/ldapserver/ldap_functions.py index a34eea6..a82bbdf 100644 --- a/ldapserver/ldap_functions.py +++ b/ldapserver/ldap_functions.py @@ -61,6 +61,7 @@ def create_user(first, last, username, email, password): ('DisplayName', [full_name.encode()]), ('userAccountControl', [b'514']), ('mail', [email.encode()]), + ('company', [b'Spaceport']), ] ldap_conn.add_s(dn, ldif)