diff options
-rw-r--r-- | python/samba/provision/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/samba/provision/__init__.py b/python/samba/provision/__init__.py index 2f513f8383d..ff9b8fac916 100644 --- a/python/samba/provision/__init__.py +++ b/python/samba/provision/__init__.py @@ -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) |