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