lib/cmdline: Also redact --newpassword in samba_cmdline_burn()
authorAndrew Bartlett <abartlet@samba.org>
Fri, 21 Jul 2023 03:39:28 +0000 (15:39 +1200)
committerJule Anger <janger@samba.org>
Fri, 4 Aug 2023 08:05:00 +0000 (08:05 +0000)
commite911424161d838ab09cc582ae56843c84ee52bc1
tree9462327e094daf2a90fd12a5185f289a54771502
parentc11b6d6b6a43730f49809eb725931900b99b941d
lib/cmdline: Also redact --newpassword in samba_cmdline_burn()

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jul 21 06:16:30 UTC 2023 on atb-devel-224

(cherry picked from commit 76ad44f446c42832e87b2c60a4731a8de3a0018f)

RN: post-exec password redaction for samba-tool is more reliable for
 fully random passwords as it no longer uses regular expressions
 containing the password value itself.

Autobuild-User(v4-18-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-18-test): Fri Aug  4 08:05:00 UTC 2023 on atb-devel-224
lib/cmdline/cmdline.c