forked from public/pyceo
Bug fix
This commit is contained in:
parent
4ca42380ee
commit
ee2b189a91
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue