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.
This commit is contained in:
Simo Sorce 2010-12-21 16:39:02 -05:00
parent 3f3de618ae
commit c40303bcc1

View File

@ -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