URL: https://github.com/freeipa/freeipa/pull/4437 Author: wladich Title: #4437: [Backport][ipa-4-7] ipatests: provide AD admin password when trying to establish trust Action: opened
PR body: """ This PR was opened automatically because PR #4399 was pushed to master and backport to ipa-4-7 is required. """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/4437/head:pr4437 git checkout pr4437
From 6b2bac2d1e6006d52a88ead74c4b94f8a05e110c Mon Sep 17 00:00:00 2001 From: Sergey Orlov <sor...@redhat.com> Date: Tue, 10 Mar 2020 14:30:51 +0100 Subject: [PATCH] ipatests: provide AD admin password when trying to establish trust `ipa trust-add --password` command requires that user provides a password. Related to: https://pagure.io/freeipa/issue/7895 --- ipatests/test_integration/test_trust.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipatests/test_integration/test_trust.py b/ipatests/test_integration/test_trust.py index a3cdc03fef..0bcb460359 100644 --- a/ipatests/test_integration/test_trust.py +++ b/ipatests/test_integration/test_trust.py @@ -635,7 +635,8 @@ def test_server_option_with_unreachable_ad(self): # This checks that our setup is correct result = self.master.run_command( ['ipa', 'trust-add', self.ad.domain.name, - '--admin', 'Administrator', '--password'], raiseonerr=False) + '--admin', 'Administrator', '--password'], raiseonerr=False, + stdin_text=self.master.config.ad_admin_password) assert result.returncode == 1 assert 'CIFS server communication error: code "3221225653", ' \ 'message "{Device Timeout}' in result.stderr_text
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org