diff options
| author | Oleg Fayans <ofayans@redhat.com> | 2016-09-21 11:22:59 +0200 |
|---|---|---|
| committer | David Kupka <dkupka@redhat.com> | 2016-09-22 15:20:42 +0200 |
| commit | bbac233b5ee487ab0e035cf0b861144769a0b738 (patch) | |
| tree | dcb9a46c69a782494f29ccfa3c924bdeff100d40 | |
| parent | 330a3ca93101bcec82ec5d3add14586871864bdd (diff) | |
| download | freeipa-bbac233b5ee487ab0e035cf0b861144769a0b738.tar.gz freeipa-bbac233b5ee487ab0e035cf0b861144769a0b738.tar.xz freeipa-bbac233b5ee487ab0e035cf0b861144769a0b738.zip | |
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>
| -rw-r--r-- | ipatests/test_integration/tasks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index ac36e2e02..d6cf05b31 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -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) |
