mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
replica-prepare: anonymous binds may be disallowed
Fixes: https://fedorahosted.org/freeipa/ticket/1900
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user