mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
provision: add a default root key
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
53bf56c62b
commit
79342a8411
@ -2401,6 +2401,10 @@ def provision(logger, session_info, smbconf=None,
|
|||||||
if updates_allowed_overridden:
|
if updates_allowed_overridden:
|
||||||
lp.set("dsdb:schema update allowed", "no")
|
lp.set("dsdb:schema update allowed", "no")
|
||||||
|
|
||||||
|
gkdi_root_key_dn = samdb.new_gkdi_root_key()
|
||||||
|
logger.info("gkdi/gmsa root key added with guid "
|
||||||
|
f"{gkdi_root_key_dn.get_rdn_value()}")
|
||||||
|
|
||||||
if not is_heimdal_built():
|
if not is_heimdal_built():
|
||||||
create_kdc_conf(paths.kdcconf, realm, domain, os.path.dirname(lp.get("log file")))
|
create_kdc_conf(paths.kdcconf, realm, domain, os.path.dirname(lp.get("log file")))
|
||||||
logger.info("The Kerberos KDC configuration for Samba AD is "
|
logger.info("The Kerberos KDC configuration for Samba AD is "
|
||||||
|
@ -1 +0,0 @@
|
|||||||
^samba.tests.dsdb_quiet_provision_tests.+test_dsdb_dn_gkdi_gmsa_root_keys_exist
|
|
Loading…
Reference in New Issue
Block a user