This commit is contained in:
David Bartley 2007-11-28 03:05:17 -05:00
parent 4ca42380ee
commit ee2b189a91
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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()