summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-replica-manage
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-09-03 11:01:48 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-09-04 12:46:29 +0200
commitf312d725102f903f67a2db688d3dce94cf84e77d (patch)
tree979510aba7e9a93814c642370f0bf05599555f9b /install/tools/ipa-replica-manage
parent7959f3ee1e38ce10e2f32a51c3fa0f45f949f06f (diff)
downloadfreeipa-f312d725102f903f67a2db688d3dce94cf84e77d.tar.gz
freeipa-f312d725102f903f67a2db688d3dce94cf84e77d.tar.xz
freeipa-f312d725102f903f67a2db688d3dce94cf84e77d.zip
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
Diffstat (limited to 'install/tools/ipa-replica-manage')
-rwxr-xr-xinstall/tools/ipa-replica-manage2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage
index e2bd38e9b..45b915c66 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."