tests: Add test for password-lockout via SAMR RPC
authorTim Beale <timbeale@catalyst.net.nz>
Fri, 20 Apr 2018 00:50:00 +0000 (12:50 +1200)
committerGarming Sam <garming@samba.org>
Fri, 11 May 2018 04:01:24 +0000 (06:01 +0200)
commit17d8d475e5376a3c1a313c99cd988b0d1180c5e2
treee337f2db3949bdfb00ff558c28e9e7a2365b2342
parentf94f472830d684683f2769d83ad1205720a3029d
tests: Add test for password-lockout via SAMR RPC

The existing password_lockout tests didn't check for changing the
password via the SAMR password_change RPC. This patch adds a test-case
for this, using the default domain lockout settings (which passes), and
then repeats the same test using a PSO (which fails).

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
selftest/knownfail.d/password_lockout
source4/dsdb/tests/python/password_lockout.py