summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-replica-manage
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-10-06 08:37:17 +0200
committerMartin Kosek <mkosek@redhat.com>2011-10-06 08:41:27 +0200
commit652d315b3e486abb0b51e02437cd0f1243425a6e (patch)
tree513594f27dedebfb60ced25317b3bbf8055da2c5 /install/tools/ipa-replica-manage
parent185ca8f6fc5e69e989e473c8b1d066aa2d8e5cb1 (diff)
downloadfreeipa-652d315b3e486abb0b51e02437cd0f1243425a6e.tar.gz
freeipa-652d315b3e486abb0b51e02437cd0f1243425a6e.tar.xz
freeipa-652d315b3e486abb0b51e02437cd0f1243425a6e.zip
replica-prepare: anonymous binds may be disallowed
Fixes: https://fedorahosted.org/freeipa/ticket/1900
Diffstat (limited to 'install/tools/ipa-replica-manage')
-rwxr-xr-xinstall/tools/ipa-replica-manage3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage
index 84cfd8f3e..e4ff7166e 100755
--- a/install/tools/ipa-replica-manage
+++ b/install/tools/ipa-replica-manage
@@ -328,7 +328,8 @@ def del_master(realm, hostname, options):
# 5. And clean up the removed replica DNS entries if any.
try:
- if bindinstance.dns_container_exists(options.host, thisrepl.suffix):
+ if bindinstance.dns_container_exists(options.host, thisrepl.suffix,
+ dm_password=options.dirman_passwd):
if options.dirman_passwd:
api.Backend.ldap2.connect(bind_dn='cn=Directory Manager',
bind_pw=options.dirman_passwd)