tests: Fixed method failures during second call for the method
When the same host is used for numerous server/replica installations/uninstallations at some point the /etc/openldap/ldap.conf file gets corruped which results in ldapsearch unaware of the default ldap_uri to connect. The workaround would be to provide ldap hostname for each ldapsearch. Attention: please unapply this fix once the original issue is resolved. https://fedorahosted.org/freeipa/ticket/5880 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
1 parent
330a3ca931
commit
bbac233b5e
1 file changed
+2
-1
@@ -249,7 +249,8 @@ def enable_replication_debugging(host):
|
||||
""")
|
||||
host.run_command(['ldapmodify', '-x',
|
||||
'-D', str(host.config.dirman_dn),
|
||||
'-w', host.config.dirman_password],
|
||||
'-w', host.config.dirman_password,
|
||||
'-h', host.hostname],
|
||||
stdin_text=logging_ldif)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user