summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-08-15 13:56:04 -0400
committerMartin Kosek <mkosek@redhat.com>2012-08-16 12:52:08 +0200
commit9ab599bcbae5f07081765a98e9b21bb5fdb87f45 (patch)
tree6a4c9ff008d8b6c555491681604bd14eb34d5866 /install/tools
parente1d34638adb1cc3374f3abe491014df0e3453d37 (diff)
downloadfreeipa.git-9ab599bcbae5f07081765a98e9b21bb5fdb87f45.tar.gz
freeipa.git-9ab599bcbae5f07081765a98e9b21bb5fdb87f45.tar.xz
freeipa.git-9ab599bcbae5f07081765a98e9b21bb5fdb87f45.zip
Use DN object for Directory Manager in ipa-replica-manage connect command
Diffstat (limited to 'install/tools')
-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 cabc0106..111042ad 100755
--- a/install/tools/ipa-replica-manage
+++ b/install/tools/ipa-replica-manage
@@ -423,7 +423,7 @@ def add_link(realm, replica1, replica2, dirman_passwd, options):
except errors.NotFound:
sys.exit("You cannot connect to a previously deleted master")
- repl1.setup_gssapi_replication(replica2, "cn=Directory Manager", dirman_passwd)
+ repl1.setup_gssapi_replication(replica2, DN(('cn', 'Directory Manager')), dirman_passwd)
print "Connected '%s' to '%s'" % (replica1, replica2)
def re_initialize(realm, thishost, fromhost, dirman_passwd):