tests: Use MUST_USE_KERBEROS over AUTO_USE_KERBEROS in auth_log tests
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 15 Jan 2019 23:12:16 +0000 (12:12 +1300)
committerJeremy Allison <jra@samba.org>
Thu, 17 Jan 2019 00:40:31 +0000 (01:40 +0100)
commite82e1b31e39631f6603be6d14debf79d2d9b16cd
tree7ffcb50130d0a3036b33346081287d49494d1b25
parent065faa6a1429db99ef1372ab194960f817d13ebf
tests: Use MUST_USE_KERBEROS over AUTO_USE_KERBEROS in auth_log tests

The s3 SMB client bindings seem slightly different to s4, in that they
default to setting the CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS flag.
This seems to fallback to finding a valid KRB TGT (from a previous
successful test), which results in the connection succeeding rather than
failing.

Setting MUST_USE_KERBEROS explicitly avoids this behaviour.

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