diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-17 22:33:03 -0600 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-17 22:33:03 -0600 |
commit | 83a662e87a2c6b27f5c35f6b0c70091b454ed267 (patch) | |
tree | 9b851287b236d9ca3c046adfcec3a754eb923576 /ipa_server | |
parent | 80ccf8b1c641fd6c41256fd28ea3b89c590e8d4c (diff) | |
download | freeipa-83a662e87a2c6b27f5c35f6b0c70091b454ed267.tar.gz freeipa-83a662e87a2c6b27f5c35f6b0c70091b454ed267.tar.xz freeipa-83a662e87a2c6b27f5c35f6b0c70091b454ed267.zip |
Changed ldap.dn class attribute (on backend plugin) to an instance attribute so epydoc doesn't document it
Diffstat (limited to 'ipa_server')
-rw-r--r-- | ipa_server/plugins/b_ldap.py | 5 |
1 files 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] |