summaryrefslogtreecommitdiffstats
path: root/ipa_server
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-10-13 23:26:24 -0600
committerJason Gerard DeRose <jderose@redhat.com>2008-10-13 23:26:24 -0600
commit446037fd60d59f671b9a402b9111ab041c1c1439 (patch)
treec92d65e2d1c6b58a559119480fcc1a840627cd5a /ipa_server
parent22669f1fc2ffb6de8a8d92a64132dd0b31e877b3 (diff)
downloadfreeipa-446037fd60d59f671b9a402b9111ab041c1c1439.tar.gz
freeipa-446037fd60d59f671b9a402b9111ab041c1c1439.tar.xz
freeipa-446037fd60d59f671b9a402b9111ab041c1c1439.zip
Added Object.get_dn() method; added corresponding unit tests
Diffstat (limited to 'ipa_server')
-rw-r--r--ipa_server/plugins/b_ldap.py3
1 files changed, 3 insertions, 0 deletions
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)