mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-12 16:32:01 -05:00
Read DM password from option in external CA install
ipa-server-install with external CA could not be run in an unattended mode as DM password was required to decipher answer cache. https://fedorahosted.org/freeipa/ticket/2793
This commit is contained in:
1 parent
adc2f77a39
commit
489493e690
1 file changed
+3
@@ -619,6 +619,9 @@ def main():
|
||||
|
||||
# This will override any settings passed in on the cmdline
|
||||
if ipautil.file_exists(ANSWER_CACHE):
|
||||
if options.dm_password is not None:
|
||||
dm_password = options.dm_password
|
||||
else:
|
||||
dm_password = read_password("Directory Manager", confirm=False)
|
||||
if dm_password is None:
|
||||
sys.exit("\nDirectory Manager password required")
|
||||
|
||||
Reference in new issue
Block a user