mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove search_s and search_ext_s from IPAdmin
Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
This commit is contained in:
committed by
Martin Kosek
parent
d7bf70902b
commit
8f44811a95
@@ -674,12 +674,14 @@ class ReplicationManager(object):
|
||||
while (retries > 0 ):
|
||||
root_logger.info('Getting ldap service principals for conversion: %s and %s' % (filter_a, filter_b))
|
||||
try:
|
||||
a_entry = b.search_s(self.suffix, ldap.SCOPE_SUBTREE, filterstr=filter_a)
|
||||
a_entry = b.get_entries(self.suffix, ldap.SCOPE_SUBTREE,
|
||||
filter=filter_a)
|
||||
except errors.NotFound:
|
||||
pass
|
||||
|
||||
try:
|
||||
b_entry = a.search_s(self.suffix, ldap.SCOPE_SUBTREE, filterstr=filter_b)
|
||||
b_entry = a.get_entries(self.suffix, ldap.SCOPE_SUBTREE,
|
||||
filter=filter_b)
|
||||
except errors.NotFound:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user