Use inetOrgPerson instead of account #29

Merged
merenber merged 6 commits from inetOrgPerson into v1 2021-10-23 23:21:11 -04:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit aa3b6b7855 - Show all commits

View File

@ -14,10 +14,10 @@ import traceback
import ldap3
# modify as necessary
LDAP_URI = "ldap://auth1.csclub.internal"
LDAP_MEMBERS_BASE = "ou=People,dc=csclub,dc=internal"
UWLDAP_URI = "ldap://auth1.csclub.internal"
UWLDAP_MEMBERS_BASE = "ou=UWLDAP,dc=csclub,dc=internal"
LDAP_URI = "ldap://auth1.csclub.uwaterloo.ca"
LDAP_MEMBERS_BASE = "ou=People,dc=csclub,dc=uwaterloo,dc=ca"
UWLDAP_URI = "ldap://auth1.csclub.uwaterloo.ca"
UWLDAP_MEMBERS_BASE = "ou=UWLDAP,dc=csclub,dc=uwaterloo,dc=ca"
csc_conn = ldap3.Connection(
LDAP_URI, authentication=ldap3.SASL, sasl_mechanism=ldap3.KERBEROS,