tests/samba-tool user_wdigest: Fix flapping test
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 10 May 2022 00:49:50 +0000 (12:49 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 10 May 2022 23:05:31 +0000 (23:05 +0000)
commit05a7092fdaf31b9264318208eeba3f306712f638
treea0cd699e80037dded0a7f731d2de99a329acd545
parenta71c62404ab1e669841cc40f98a5f1b51aba2c65
tests/samba-tool user_wdigest: Fix flapping test

The randomly-generated password for the user account may be too weak,
causing account creation to fail. This leads to further problems, as the
result of the command is not checked, and connecting over LDAP means
transactions cannot be used, leading to a half-created account and
failing tests.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/samba_tool/user_wdigest.py