[PATCH] Fix flapping user_virtualCryptSHA and user_wdigest tests

Gary Lockyer gary at catalyst.net.nz
Thu Jun 8 19:00:53 UTC 2017


Both tests use "samba-tool user create" to create a user, with a random
password. If the random password contained shell metacharacters or '-'
failures like
https://git.samba.org/autobuild.flakey.sn-devel-144/2017-06-03-1418/samba.stdout
occurred.

This patch restricts the generated passwords to [A-Za-z0-9]


Review and push appreciated

Gary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-samba-tool-tests-Fix-shell-metacharacters-in-generat.patch
Type: text/x-patch
Size: 2550 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170609/86debd19/0001-samba-tool-tests-Fix-shell-metacharacters-in-generat.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170609/86debd19/signature.sig>


More information about the samba-technical mailing list