mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
Properly convert the realm to a DS instance name
451014
This commit is contained in:
parent
ec597b0ef1
commit
e9196e2d93
@ -136,7 +136,7 @@ def main():
|
||||
if options.dirsrv:
|
||||
dm_password = getpass.getpass("Directory Manager password: ")
|
||||
realm = get_realm_name()
|
||||
dirname = dsinstance.config_dirname(realm)
|
||||
dirname = dsinstance.config_dirname(dsinstance.realm_to_serverid(realm))
|
||||
server_cert = import_cert(dirname, pkcs12_fname)
|
||||
set_ds_cert_name(server_cert[0], dm_password)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user