Bug fix
This commit is contained in:
parent
4ca42380ee
commit
ee2b189a91
|
@ -86,7 +86,7 @@ class NoSuchGroup(AccountException):
|
||||||
ldap_connection = ldapi.LDAPConnection()
|
ldap_connection = ldapi.LDAPConnection()
|
||||||
krb_connection = krb.KrbConnection()
|
krb_connection = krb.KrbConnection()
|
||||||
|
|
||||||
def connect(auth_callback):
|
def connect():
|
||||||
"""Connect to LDAP and Kerberos and load configuration. You must call before anything else."""
|
"""Connect to LDAP and Kerberos and load configuration. You must call before anything else."""
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
|
|
|
@ -75,7 +75,7 @@ class NoSuchMember(MemberException):
|
||||||
# global directory connection
|
# global directory connection
|
||||||
ldap_connection = ldapi.LDAPConnection()
|
ldap_connection = ldapi.LDAPConnection()
|
||||||
|
|
||||||
def connect(auth_callback):
|
def connect():
|
||||||
"""Connect to LDAP."""
|
"""Connect to LDAP."""
|
||||||
|
|
||||||
load_configuration()
|
load_configuration()
|
||||||
|
|
Loading…
Reference in New Issue