summaryrefslogtreecommitdiffstats
path: root/source4/torture/smb2/notify.c
Commit message (Collapse)AuthorAgeFilesLines
* s4: smbtorture: Add a proper change_notify going async followed by tdis test.Jeremy Allison2014-03-121-1/+67
| | | | | | | | | | | | [Bug 10344] SessionLogoff on a signed connection with an outstanding notify request crashes smbd. https://bugzilla.samba.org/show_bug.cgi?id=10344 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Mar 12 20:12:58 CET 2014 on sn-devel-104
* s4: smbtorture: Update the torture_smb2_notify_ulogoff test to demonstrate ↵Jeremy Allison2014-03-121-6/+14
| | | | | | | | | | | | | the problem. [Bug 10344] SessionLogoff on a signed connection with an outstanding notify request crashes smbd. https://bugzilla.samba.org/show_bug.cgi?id=10344 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher2012-07-251-0/+1
| | | | metze
* s4:libcli/smb2: remove unused elements from smb2_treeStefan Metzmacher2012-07-251-4/+3
| | | | metze
* s4:libcli/smb2: setup a smbXcli_tcon for each smb2_treeStefan Metzmacher2012-07-241-0/+10
| | | | metze
* s4:torture: fix use of non-existent word (existant)Michael Adam2012-06-121-2/+2
|
* s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session ↵Michael Adam2012-02-031-1/+1
| | | | | | | | instead of smb2_tree arguement. Only the tree->session is needed. This way it is less confusing. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: talloc_free the right tree structure in secondary_tcon()Michael Adam2012-02-031-1/+1
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: check for success of talloc in secondary_tcon()Michael Adam2012-02-031-0/+4
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2:notify: remove an unused variableMichael Adam2012-02-031-2/+0
|
* s4:torture:smb2:notify: remove an unused variableMichael Adam2012-02-031-2/+0
|
* s4:torture/smb2: use tctx->ev as event context for pollingStefan Metzmacher2011-11-241-5/+5
| | | | metze
* torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce2011-08-131-5/+5
|
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-111-16/+16
| | | | | | | | This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
* s3/s4: merge msleep and smb_msleepBjörn Jacke2010-09-161-4/+4
| | | | | the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
* subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij2010-04-111-39/+39
| | | | | | Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
* s4:torture/smb2/notify - Rename nested "fname" variable to prevent warningsMatthias Dieter Wallnöfer2009-11-211-6/+6
|
* s4/torture: Port SMBv1 Change Notify tests to SMBv2Aravind Srinivasan2009-11-171-41/+1828
| | | | | | | | * Ported all tests from raw/notify.c to smb2/notify.c * Parameterized the max_buffer_size so it can be set on a per-target basis. * Fixed CHECK macros to use torture_result * Created a SMB2-NOTIFY test suite
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-1/+0
| | | | This reduces compile time somewhat.
* SMB2-NOTIFY: windows7 uses a different maximum buffer sizeStefan Metzmacher2009-07-061-12/+21
| | | | metze
* r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij2007-12-211-5/+2
| | | | | | uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-101-8/+8
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r22894: don't send a 2nd request before the last one returned (at least withStefan Metzmacher2007-10-101-0/+32
| | | | | | | STATUS_PENDING) otherwise longhorn beta3 just drops the connection metze (This used to be commit 503644a5e3b005e0660aca33a880de8d87d0d8aa)
* r16981: check the returned valuesStefan Metzmacher2007-10-101-1/+19
| | | | | metze (This used to be commit 687776a436ad1028f1128b279a5103aee23ece18)
* r16977: do a few more notify testsStefan Metzmacher2007-10-101-4/+70
| | | | | metze (This used to be commit 07b27333d5c3bb833d3e9fa5ee99470679a15da9)
* r16976: add a very simple SMB2-NOTIFY testStefan Metzmacher2007-10-101-0/+91
metze (This used to be commit 9dfbb0d15e2a5b9cd90643eebedca7b830fc6e10)