summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/ldap2.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/plugins/ldap2.py')
-rw-r--r--ipaserver/plugins/ldap2.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py
index fd4ed2990..267157146 100644
--- a/ipaserver/plugins/ldap2.py
+++ b/ipaserver/plugins/ldap2.py
@@ -98,11 +98,14 @@ class ldap2(LDAPClient, CrudBackend):
except AttributeError:
return DN()
- def _init_connection(self):
+ def _connect(self):
# Connectible.conn is a proxy to thread-local storage;
# do not set it
pass
+ def _disconnect(self):
+ pass
+
def __del__(self):
if self.isconnected():
self.disconnect()