mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Rename LDAPConnection to LDAPClient
It does more than just connecting, so it should have more suitable name. Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
This commit is contained in:
committed by
Martin Kosek
parent
a173957865
commit
aaa41b2145
@@ -36,7 +36,7 @@ import krbV
|
||||
import ldap as _ldap
|
||||
|
||||
from ipapython.dn import DN
|
||||
from ipaserver.ipaldap import SASL_AUTH, IPASimpleLDAPObject, LDAPConnection
|
||||
from ipaserver.ipaldap import SASL_AUTH, IPASimpleLDAPObject, LDAPClient
|
||||
|
||||
|
||||
try:
|
||||
@@ -58,7 +58,7 @@ from ipalib.crud import CrudBackend
|
||||
from ipalib.request import context
|
||||
|
||||
|
||||
class ldap2(LDAPConnection, CrudBackend):
|
||||
class ldap2(LDAPClient, CrudBackend):
|
||||
"""
|
||||
LDAP Backend Take 2.
|
||||
"""
|
||||
@@ -71,7 +71,7 @@ class ldap2(LDAPConnection, CrudBackend):
|
||||
ldap_uri = 'ldap://example.com'
|
||||
|
||||
CrudBackend.__init__(self, shared_instance=shared_instance)
|
||||
LDAPConnection.__init__(self, ldap_uri)
|
||||
LDAPClient.__init__(self, ldap_uri)
|
||||
|
||||
try:
|
||||
if base_dn is not None:
|
||||
|
||||
Reference in New Issue
Block a user