diff options
author | Rob Crittenden <rcritten@redhat.com> | 2009-04-28 17:05:39 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-05-04 17:42:03 -0400 |
commit | 064240def3e5fe1d0e75020b4a63a130e5232733 (patch) | |
tree | e1f4ff78f6ed4ad15d202116778e127b0cebe6f1 /install/tools/ipa-replica-manage | |
parent | c8ee910ff64f60975eeda9367e48201d21c60ca1 (diff) | |
download | freeipa-064240def3e5fe1d0e75020b4a63a130e5232733.tar.gz freeipa-064240def3e5fe1d0e75020b4a63a130e5232733.tar.xz freeipa-064240def3e5fe1d0e75020b4a63a130e5232733.zip |
Fix replica installation for self-signed CA (no dogtag)
Diffstat (limited to 'install/tools/ipa-replica-manage')
-rwxr-xr-x | install/tools/ipa-replica-manage | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage index d6dfb126b..f24b3f612 100755 --- a/install/tools/ipa-replica-manage +++ b/install/tools/ipa-replica-manage @@ -23,8 +23,10 @@ import getpass, ldap, re, krbV import traceback, logging from ipapython import ipautil -from ipaserver import replication, ipaldap, dsinstance, installutils +from ipaserver.install import replication, dsinstance, installutils +from ipaserver import ipaldap from ipapython import version +from ipalib import util def parse_options(): from optparse import OptionParser @@ -68,7 +70,7 @@ def get_realm_name(): return c.default_realm def get_suffix(): - suffix = ipaldap.IPAdmin.normalizeDN(dsinstance.realm_to_suffix(get_realm_name())) + suffix = ipaldap.IPAdmin.normalizeDN(util.realm_to_suffix(get_realm_name())) return suffix def get_host_name(): @@ -204,6 +206,9 @@ def main(): print "must provide hostname of supplier to synchronize with" sys.exit(1) synch_master(r, args[1]) + else: + print "unknown command: %s" % args[0] + sys.exit(1) try: main() |