From ee2b189a9170a5259d42ddf32f4752b2b71d352c Mon Sep 17 00:00:00 2001 From: David Bartley Date: Wed, 28 Nov 2007 03:05:17 -0500 Subject: [PATCH] Bug fix --- pylib/csc/adm/accounts.py | 2 +- pylib/csc/adm/members.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()