mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix replica installation for self-signed CA (no dogtag)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user