URL: https://github.com/freeipa/freeipa/pull/4436 Author: wladich Title: #4436: [Backport][ipa-4-8] 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-8 is required. """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/4436/head:pr4436 git checkout pr4436
From da11624e8a1dbba7de8f704eca87f36a72669794 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 a38da28b6b..a81fbe3c30 100644 --- a/ipatests/test_integration/test_trust.py +++ b/ipatests/test_integration/test_trust.py @@ -656,7 +656,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