]> git.ipfire.org Git - thirdparty/samba.git/commit
provision: Decrease the length of random machine passwords
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 23 Feb 2021 13:03:25 +0000 (02:03 +1300)
committerJule Anger <janger@samba.org>
Mon, 7 Mar 2022 10:12:26 +0000 (10:12 +0000)
commit00aa1f8bbae0d60f05e4f9064f5f5703af73312b
treea3d1747c84f58fbf215f1d7b4ddb54245ccbb59e
parent78d24902c7995e6b2fcb061a345371508d37f549
provision: Decrease the length of random machine passwords

The current length of 128-255 UTF-16 characters currently causes
generation of crypt() passwords to typically fail. This commit
decreases the length to 120 UTF-16 characters, which is the same as
that used by Windows.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14621

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(similar to commit 609ca657652862fd9c81fd11f818efb74f72ff55)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14984
python/samba/join.py
python/samba/provision/__init__.py
source4/libnet/libnet_vampire.c
source4/scripting/bin/renamedc