mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Changed ldap.dn class attribute (on backend plugin) to an instance attribute so epydoc doesn't document it
This commit is contained in:
parent
80ccf8b1c6
commit
83a662e87a
@ -36,7 +36,8 @@ class ldap(CrudBackend):
|
|||||||
LDAP backend plugin.
|
LDAP backend plugin.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
dn = _ldap.dn
|
def __init__(self):
|
||||||
|
self.dn = _ldap.dn
|
||||||
|
|
||||||
def make_user_dn(self, uid):
|
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)
|
search_base = "%s, %s" % (self.api.env.container_accounts, self.api.env.basedn)
|
||||||
try:
|
try:
|
||||||
exact_results = servercore.search(search_base,
|
exact_results = servercore.search(search_base,
|
||||||
exact_match_filter, ["*"])
|
exact_match_filter, ["*"])
|
||||||
except errors.NotFound:
|
except errors.NotFound:
|
||||||
exact_results = [0]
|
exact_results = [0]
|
||||||
|
Loading…
Reference in New Issue
Block a user