From 446037fd60d59f671b9a402b9111ab041c1c1439 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Mon, 13 Oct 2008 23:26:24 -0600 Subject: Added Object.get_dn() method; added corresponding unit tests --- ipa_server/plugins/b_ldap.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipa_server/plugins/b_ldap.py') diff --git a/ipa_server/plugins/b_ldap.py b/ipa_server/plugins/b_ldap.py index a8463aa7..827e2512 100644 --- a/ipa_server/plugins/b_ldap.py +++ b/ipa_server/plugins/b_ldap.py @@ -23,6 +23,7 @@ Backend plugin for LDAP. This wraps the python-ldap bindings. """ +import ldap as _ldap from ipalib import api from ipalib.backend import Backend @@ -32,4 +33,6 @@ class ldap(Backend): LDAP backend plugin. """ + dn = _ldap.dn + api.register(ldap) -- cgit