use prod variables in script

pull/29/head
Max Erenberg 2 years ago
parent 7b2fc9b026
commit aa3b6b7855
  1. 8
      one_time_scripts/inetorgperson.py

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

Loading…
Cancel
Save