From f312d725102f903f67a2db688d3dce94cf84e77d Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 3 Sep 2013 11:01:48 +0200 Subject: Fix RUV search scope in ipa-replica-manage The search had an incorrect scope and therefore it didn't find any RUV. This issue prevented removing of replica. https://fedorahosted.org/freeipa/ticket/3876 --- install/tools/ipa-replica-manage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage index e2bd38e9..45b915c6 100755 --- a/install/tools/ipa-replica-manage +++ b/install/tools/ipa-replica-manage @@ -348,7 +348,7 @@ def get_ruv(realm, host, dirman_passwd, nolookup=False): search_filter = '(&(nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff)(objectclass=nstombstone))' try: entries = thisrepl.conn.get_entries( - api.env.basedn, thisrepl.conn.SCOPE_ONELEVEL, search_filter, + api.env.basedn, thisrepl.conn.SCOPE_SUBTREE, search_filter, ['nsds50ruv']) except errors.NotFound: print "No RUV records found." -- cgit