summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/session.c
AgeCommit message (Collapse)AuthorFilesLines
2013-10-15s4:torture: add smb2.session.reauth6 : test failing reauthMichael Adam1-0/+103
This attempts reauth with invalid creds, hence triggering the error path in the reauth code. This invalidates the session and subsequente requests on that connection fail. https://bugzilla.samba.org/show_bug.cgi?id=10208 Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Oct 15 22:50:27 CEST 2013 on sn-devel-104
2013-10-05s4:torture:smb2: add smbcli_options argument to torture_smb2_connection_ext()Michael Adam1-1/+4
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-09-21s4:torture: remove and useless variable and assignment in smb2.session.reauth5Michael Adam1-3/+1
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Sep 21 08:00:02 CEST 2013 on sn-devel-104
2013-07-02torture: Don't segfault in smb2.session on error.Andreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2012-06-22s4:torture/smb2: run smb2.session.reauth5 in a subdirectoryStefan Metzmacher1-14/+77
This way we can give anonymous full access to the directory. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 22 11:30:06 CEST 2012 on sn-devel-104
2012-05-17s4:torture: add smb2.session.expire1Stefan Metzmacher1-1/+116
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 17 21:53:11 CEST 2012 on sn-devel-104
2012-05-17s4:torture: add smb2.session.reconnect2 testStefan Metzmacher1-0/+64
This uses just one transport connection and demonstrates the implicit logoff of the previous session. metze
2012-05-17s4:torture: rename smb2.session.reconnect to smb2.session.reconnect1Stefan Metzmacher1-2/+2
metze
2012-05-17s4:torture: remove unused vars in smb2.session.reauth*Stefan Metzmacher1-2/+2
metze
2012-05-08s4:torture: add a new smb2.session.reauth5 test: rename after reauth to anon ↵Michael Adam1-0/+228
- fails
2012-05-08s4:torture: add a new smb2.session.reauth4 test: setting security descriptor ↵Michael Adam1-0/+122
after reauth to anon - works
2012-05-03s4:torture: add a new smb2.session.reauth3 test - getting security descriptorMichael Adam1-0/+100
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu May 3 17:38:14 CEST 2012 on sn-devel-104
2012-04-18s4:torture:smb2: add a session.reauth2 test.Michael Adam1-0/+93
* open a file, * reauth anonymously * try to access file via handle * reauth as user * try to access file again Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Apr 18 16:53:35 CEST 2012 on sn-devel-104
2012-04-18s4:torture:smb2: rename the file in the session-reauth1 test more systematicallyMichael Adam1-1/+1
The original name seems to have come in via copy and paste.
2012-04-18s4:torture:smb2: rename the session_reauth test to session_reauth1Michael Adam1-2/+2
More tests reauth? will follow...
2012-03-08s4:torture/smb2: avoid hanging in smb2.session.reconnect against sambaStefan Metzmacher1-8/+12
Now we fail the test directly instead of waiting for oplocks to timeout. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> metze
2012-03-07s4:torture/smb2: add simple smb2.session.reauth testGregor Beck1-0/+57
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-02-29s4:torture/smb2: remove unused varStefan Metzmacher1-1/+0
metze
2012-02-28s4:torture:smb2: add new "session" testsuite starting with a ↵Michael Adam1-0/+143
session.reconnect test