From 83a662e87a2c6b27f5c35f6b0c70091b454ed267 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Fri, 17 Oct 2008 22:33:03 -0600 Subject: [PATCH] Changed ldap.dn class attribute (on backend plugin) to an instance attribute so epydoc doesn't document it --- ipa_server/plugins/b_ldap.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ipa_server/plugins/b_ldap.py b/ipa_server/plugins/b_ldap.py index 4845a5993..0b4cf121a 100644 --- a/ipa_server/plugins/b_ldap.py +++ b/ipa_server/plugins/b_ldap.py @@ -36,7 +36,8 @@ class ldap(CrudBackend): LDAP backend plugin. """ - dn = _ldap.dn + def __init__(self): + self.dn = _ldap.dn def make_user_dn(self, uid): """ @@ -194,7 +195,7 @@ class ldap(CrudBackend): search_base = "%s, %s" % (self.api.env.container_accounts, self.api.env.basedn) try: - exact_results = servercore.search(search_base, + exact_results = servercore.search(search_base, exact_match_filter, ["*"]) except errors.NotFound: exact_results = [0]