mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove references to ds_newinst.pl
ds_newinst.pl was removed from 389 DS over 9 years ago. Remove references to it. Fixes: https://fedorahosted.org/freeipa/ticket/6496 Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
committed by
Martin Basti
parent
61094a2a20
commit
687ebd18a1
@@ -157,7 +157,6 @@ class BasePathNamespace(object):
|
|||||||
PKCS12EXPORT = "/usr/bin/PKCS12Export"
|
PKCS12EXPORT = "/usr/bin/PKCS12Export"
|
||||||
CERTUTIL = "/usr/bin/certutil"
|
CERTUTIL = "/usr/bin/certutil"
|
||||||
CHROMIUM_BROWSER = "/usr/bin/chromium-browser"
|
CHROMIUM_BROWSER = "/usr/bin/chromium-browser"
|
||||||
DS_NEWINST_PL = "/usr/bin/ds_newinst.pl"
|
|
||||||
FIREFOX = "/usr/bin/firefox"
|
FIREFOX = "/usr/bin/firefox"
|
||||||
GETCERT = "/usr/bin/getcert"
|
GETCERT = "/usr/bin/getcert"
|
||||||
GPG = "/usr/bin/gpg"
|
GPG = "/usr/bin/gpg"
|
||||||
|
|||||||
@@ -551,12 +551,12 @@ class DsInstance(service.Service):
|
|||||||
inf_fd = ipautil.write_tmp_file(inf_txt)
|
inf_fd = ipautil.write_tmp_file(inf_txt)
|
||||||
inf_txt = re.sub(r"RootDNPwd=.*\n", "", inf_txt)
|
inf_txt = re.sub(r"RootDNPwd=.*\n", "", inf_txt)
|
||||||
root_logger.debug(inf_txt)
|
root_logger.debug(inf_txt)
|
||||||
if ipautil.file_exists(paths.SETUP_DS_PL):
|
args = [
|
||||||
args = [paths.SETUP_DS_PL, "--silent", "--logfile", "-", "-f", inf_fd.name]
|
paths.SETUP_DS_PL, "--silent",
|
||||||
root_logger.debug("calling setup-ds.pl")
|
"--logfile", "-",
|
||||||
else:
|
"-f", inf_fd.name,
|
||||||
args = [paths.DS_NEWINST_PL, inf_fd.name]
|
]
|
||||||
root_logger.debug("calling ds_newinst.pl")
|
root_logger.debug("calling setup-ds.pl")
|
||||||
try:
|
try:
|
||||||
ipautil.run(args)
|
ipautil.run(args)
|
||||||
root_logger.debug("completed creating ds instance")
|
root_logger.debug("completed creating ds instance")
|
||||||
|
|||||||
Reference in New Issue
Block a user