diff --git a/pylib/csc/adm/accounts.py b/pylib/csc/adm/accounts.py index 3d1e96a..b1c610b 100644 --- a/pylib/csc/adm/accounts.py +++ b/pylib/csc/adm/accounts.py @@ -86,7 +86,7 @@ class NoSuchGroup(AccountException): ldap_connection = ldapi.LDAPConnection() krb_connection = krb.KrbConnection() -def connect(auth_callback): +def connect(): """Connect to LDAP and Kerberos and load configuration. You must call before anything else.""" configure() diff --git a/pylib/csc/adm/members.py b/pylib/csc/adm/members.py index 16fc2b0..8a25c05 100644 --- a/pylib/csc/adm/members.py +++ b/pylib/csc/adm/members.py @@ -75,7 +75,7 @@ class NoSuchMember(MemberException): # global directory connection ldap_connection = ldapi.LDAPConnection() -def connect(auth_callback): +def connect(): """Connect to LDAP.""" load_configuration()