mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
provision: add a comment that the value of krbtgtpass is ignored in the backend
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14984 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
6bb7c0f249
commit
725c94d57d
@ -1924,6 +1924,9 @@ def provision_fill(samdb, secrets_ldb, logger, names, paths,
|
||||
invocationid = str(uuid.uuid4())
|
||||
|
||||
if krbtgtpass is None:
|
||||
# Note that the machinepass value is ignored
|
||||
# as the backend (password_hash.c) will generate its
|
||||
# own random values for the krbtgt keys
|
||||
krbtgtpass = samba.generate_random_machine_password(128, 255)
|
||||
if machinepass is None:
|
||||
machinepass = samba.generate_random_machine_password(120, 120)
|
||||
|
Loading…
Reference in New Issue
Block a user