]> git.ipfire.org Git - thirdparty/samba.git/commit
python:tests: Pass ServerPasswordSet2() parameters in correct order
authorJo Sutton <josutton@catalyst.net.nz>
Tue, 30 Apr 2024 02:36:07 +0000 (14:36 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 16 May 2024 02:11:36 +0000 (02:11 +0000)
commitfdaa29436976c4aec94c239ee9d65eb6d8f920f5
tree7fa7c56041454032e0bd92ae3ed876b17a2df142
parentcb357a011b04f37cb6610a94ae5c4af30a56e423
python:tests: Pass ServerPasswordSet2() parameters in correct order

‘account_name’ and ‘server_name’ are passed in the wrong order. While
Samba ignores the account name parameter and doesn’t have a problem with
it missing its trailing dollar, Windows checks it and requires the
trailing dollar to be present.

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/py_credentials.py