s4:torture/smb2/session: invalidate credential cache
authorRalph Boehme <slow@samba.org>
Thu, 8 Nov 2018 14:42:46 +0000 (15:42 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 13 Nov 2018 10:13:03 +0000 (11:13 +0100)
commit368e1860654e737aa2fa9516cdd3668fa644009a
treefa34031da224c6f8ed2828185e734f3ad698330e
parent53fe148476a5566b7a8204d7e44b6e75ce7d45bc
s4:torture/smb2/session: invalidate credential cache

Invalidate credential cache before connecting to the server, otherwise
we will reuse the credentials from the credential cache populated by the
preceeding tests.

Also invalidate it at the end, otherwise subsequent tests might run into
problems if the credentials expire while authenticating.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13661

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/torture/smb2/session.c