summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-12-21 16:39:02 -0500
committerSimo Sorce <ssorce@redhat.com>2010-12-21 17:54:42 -0500
commitc40303bcc1ee928ae4c3515ec53b2f83384aee59 (patch)
tree2ad3b1c57ca69242eda2f8eb984759419da3e70a /install
parent3f3de618ae3f7f4650eef1302c20b9800edc0867 (diff)
downloadfreeipa-c40303bcc1ee928ae4c3515ec53b2f83384aee59.tar.gz
freeipa-c40303bcc1ee928ae4c3515ec53b2f83384aee59.tar.xz
freeipa-c40303bcc1ee928ae4c3515ec53b2f83384aee59.zip
Temporary fix for 'connect' operations
Currently the code depends on using a password to create replication agreements. so this patch forces the request of the dirmgr password until we can fix the internal issues that prevent using the amdin user with SASL/GSSAPI to create replication agreements.
Diffstat (limited to 'install')
-rwxr-xr-xinstall/tools/ipa-replica-manage2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage
index 50571249f..da2c9d4a7 100755
--- a/install/tools/ipa-replica-manage
+++ b/install/tools/ipa-replica-manage
@@ -392,7 +392,7 @@ def main():
if options.dirman_passwd:
dirman_passwd = options.dirman_passwd
else:
- if not test_connection(host):
+ if not test_connection(host) or args[0] == "connect":
dirman_passwd = getpass.getpass("Directory Manager password: ")
options.dirman_passwd = dirman_passwd