1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-30 13:18:05 +03:00
samba-mirror/source4/torture/smb2
Ralph Boehme 368e186065 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>
2018-11-13 11:13:03 +01:00
..
acls.c s4:torture/smb2: new test for interaction between chown and SD flags 2018-05-11 20:33:13 +02:00
compound.c s4: torture: test closing dir handle with in-flight find 2018-07-27 13:07:15 +02:00
connect.c s4:torture:smb2 prefer torture_comment() to printf(). 2016-09-07 12:09:17 +02:00
create.c s4-torture: fix file time checks 2017-11-22 10:20:20 +01:00
credits.c s4: torture: Add a TALLOC_CTX * to torture_smb2_crediting_init(). 2017-05-05 15:52:12 +02:00
delete-on-close.c smbtorture: Add test for DELETE_ON_CLOSE on files with READ_ONLY attribute 2018-11-03 03:01:25 +01:00
dir.c s4: torture: Add a TALLOC_CTX * to torture_smb2_dir_init(). 2017-05-05 15:52:12 +02:00
dosmode.c s4/torture: add a test for dosmode and hidden files 2016-06-25 18:47:17 +02:00
durable_open.c s4: torture: Add TALLOC_CTX * to torture_smb2_durable_open_disconnect_init(), torture_smb2_durable_open_init() 2017-05-05 15:52:12 +02:00
durable_v2_open.c selftest: add a durable handle test with delayed disconnect 2018-08-31 22:22:23 +02:00
getinfo.c s4: torture: Add a TALLOC_CTX * to torture_smb2_getinfo_init(). 2017-05-05 15:52:14 +02:00
ioctl.c s4-torture: fix type of enum in various places 2017-11-24 01:13:15 +01:00
lease_break_handler.c s4-torture: move lease break handler outside the lease testsuite. 2017-09-19 09:36:40 +02:00
lease_break_handler.h s4-torture: move lease break handler outside the lease testsuite. 2017-09-19 09:36:40 +02:00
lease.c s4-torture: add test for lease break after file unlink 2018-06-01 02:57:46 +02:00
lock.c s4: torture: Add a TALLOC_CTX * to torture_smb2_lock_init(). 2017-05-05 15:52:12 +02:00
maxfid.c s4-torture: Use the correct variable type in torture_smb2_maxfid() 2017-02-23 03:18:10 +01:00
maxwrite.c s4:torture:smb2:maxwrite: compile maxwrite test at least. 2016-09-07 12:09:16 +02:00
notify_disabled.c s4: torture: Add a TALLOC_CTX * to torture_smb2_notify_disabled_init(). 2017-05-05 15:52:13 +02:00
notify.c s4: torture: Ensure we close the handle on the correct tree-id. 2018-09-04 05:23:57 +02:00
oplock.c s4:torture: Do not leak file descriptor in smb2 oplock test 2018-05-17 04:03:21 +02:00
read.c s4:torture/smb2/read: add test for cancelling SMB aio 2018-11-02 21:21:14 +01:00
rename.c lib: tevent: Use system <tevent.h>, not internal header path (except in self-test). 2017-08-16 20:58:13 +02:00
replay.c torture: Add test for channel sequence number handling 2018-01-14 14:47:15 +01:00
scan.c s4: torture: Remove use of local variables that are simply mirroring popt_get_cmdline_credentials(). 2017-05-12 00:37:29 +02:00
session.c s4:torture/smb2/session: invalidate credential cache 2018-11-13 11:13:03 +01:00
setinfo.c s4:torture:smb2 prefer torture_comment() to printf(). 2016-09-07 12:09:17 +02:00
sharemode.c lib: tevent: Use system <tevent.h>, not internal header path (except in self-test). 2017-08-16 20:58:13 +02:00
smb2.c s4:torture/smb2/read: add test for cancelling SMB aio 2018-11-02 21:21:14 +01:00
streams.c s4:torture/smb2/streams: try to rename basefile while is has open streams 2018-05-30 19:10:25 +02:00
util.c s4:torture/util: add torture_smb2_open() 2018-10-31 21:27:20 +01:00
wscript_build s4-torture: move lease break handler outside the lease testsuite. 2017-09-19 09:36:40 +02:00