use prod variables in script
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Max Erenberg 2021-10-23 23:09:48 -04:00
parent 7b2fc9b026
commit aa3b6b7855
1 changed files with 4 additions and 4 deletions

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,