tests: Relax auth_log SMB assertions to cover v1 *or* v2
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 15 Jan 2019 22:18:27 +0000 (11:18 +1300)
committerJeremy Allison <jra@samba.org>
Thu, 17 Jan 2019 00:40:31 +0000 (01:40 +0100)
commit065faa6a1429db99ef1372ab194960f817d13ebf
tree9b8940112c6b41230f682a47c767665e36e97830
parent7fb93eaca74ffe17bbe7255210dd3090afe8d5dc
tests: Relax auth_log SMB assertions to cover v1 *or* v2

The s4 Python bindings currently only support SMBv1 connections.
If we change the bindings to support *either* v1 or v2, they'll
end up negotiating v2. In which case the server is "SMB2", not "SMB",
and these assertions fail.

Long-term we want to get rid of SMBv1, so it makes sense to write the
tests so that they pass against either v1 or v2.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/tests/auth_log.py