summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2012-02-28s4:torture:smb2:durable-open: fix a silly access-after-free panicMichael Adam1-7/+0
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 28 08:33:44 CET 2012 on sn-devel-104
2012-02-28s4:torture:smb2: add new "session" testsuite starting with a ↵Michael Adam3-1/+145
session.reconnect test
2012-02-28s4:torture:smb2: add durable_open.reopen2a - variant of reopen2 with session ↵Michael Adam1-0/+77
reconnect
2012-02-28s4:torture:smb2: add torture_smb2_connection_ext() that takes previous_sessionMichael Adam1-13/+25
2012-02-28s4:torture:smb2: add previous_session argument to torture_smb2_session_setup()Michael Adam2-2/+6
To allow for doing a session reconnect
2012-02-28s4:libcli:smb2: add a previous session argument to smb2_session_setup_spnego()Michael Adam1-1/+2
So that we can do a session reconnect.
2012-02-27torture: don't check the NOINDEXED bit in attribute comparisonAndrew Tridgell2-1/+2
this bit is dependent on user settings on the filesystem Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2012-02-27s4:torture:smb2:durable-open: prevent using a disconnected handle in reopen4Michael Adam1-0/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 27 03:44:16 CET 2012 on sn-devel-104
2012-02-27s4:torture:smb2:durable-open: introduce new variable for the new sessionMichael Adam1-2/+9
This is to clarify the code.
2012-02-27s4:torture:smb2:durable-open: make a comment more precise in the reopen4 testMichael Adam1-1/+4
2012-02-27s4:torture:smb2:durable_open: use the correct tree in the final close callMichael Adam1-1/+1
2012-02-21s4:torture:smb2: add a durable-open.open-oplock testMichael Adam1-0/+85
this is a variant of the open-lease test that does the initial durable open with a batch oplock instead of a RH lease. This is e.g. useful do analyse a (mis?) behaviour with current windows 8 preview versions, compared to w2k8r2 Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 21 19:51:21 CET 2012 on sn-devel-104
2012-02-21s4:torture:smb2: extend and prettify comment for durable-open.open-lease testMichael Adam1-8/+8
2012-02-21s4:torture:smb2:durable-open: rename the open test to open-leaseMichael Adam1-5/+7
2012-02-21s4:torture:smb2: move some initialization and call to smb2_create together ↵Michael Adam1-2/+2
in durable-open.open test
2012-02-21s4:torture:smb2: fix a typo in the durable-open.open test file nameMichael Adam1-1/+1
2012-02-20s4:torture:smb2: invalidate the handle after the connection has been killedMichael Adam1-0/+1
Not to run into using the old handle with a new tree connect in the error case. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 20 18:34:48 CET 2012 on sn-devel-104
2012-02-20s4:torture: improve comment for the smb2.durable-open.reopen1 testMichael Adam1-0/+1
2012-02-17auth: Make more of the ntlmssp code private or staticAndrew Bartlett1-0/+1
Now that there is only one gensec_ntlmssp server, some of these functions can be static For the rest, put the implemtnation of the gensec_ntlmssp code into ntlmssp_private.h Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-02-16s4-selftest: fix output of opened connections in torture_holdconBjörn Baumbach1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2012-02-13s4:torture: add another SMB2 rename testChristian Ambach1-0/+130
this mimics Word 2010 saving a file Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon Feb 13 18:33:43 CET 2012 on sn-devel-104
2012-02-10s4:torture: add some SMB2 renaming testsChristian Ambach3-1/+843
2012-02-07torture/libnet: Include prototype headers.Jelmer Vernooij1-0/+1
2012-02-03s4:torture: add a smb2.durable_open.reopen4 testMichael Adam1-0/+89
open a durable handle, logoff, new sessions setup, try durable reopen (fail), open tcon, durable reopen (succeed) Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Feb 3 12:45:34 CET 2012 on sn-devel-104
2012-02-03s4:torture: add a torture_smb2_session_setup() utility functionMichael Adam1-0/+31
2012-02-03s4:torture: add smb2.durable_open test reopen3Michael Adam1-0/+68
Do a durable open, tdis, tree_connect, durable reopen -> fail
2012-02-03s4:torture: add torture_smb2_tree_connect() utility functionMichael Adam1-0/+42
This does a tcon based on an existing session, using the name an host present in the torture context.
2012-02-03s4:torture: add smb2.durable_open test reopen2Michael Adam1-0/+71
durable open, disconnect, new seession, durable reopen
2012-02-03s4:torture: add smb2.durable_open test reopen1Michael Adam1-0/+57
2012-02-03s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session ↵Michael Adam1-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>
2012-02-03s4:torture:smb2: talloc_free the right tree structure in secondary_tcon()Michael Adam1-1/+1
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-02-03s4:torture:smb2: check for success of talloc in secondary_tcon()Michael Adam1-0/+4
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-02-03s4:torture:smb2:notify: remove an unused variableMichael Adam1-2/+0
2012-02-03s4:torture:smb2:notify: remove an unused variableMichael Adam1-2/+0
2012-02-03s4:torture:smb2: remove an unused variable from torture_smb2_setinfo()Michael Adam1-2/+0
2012-02-02smbtorture: Do not leak child processes when exitingChristof Schmitt1-0/+8
When some child processes could not be created, smbtorture would exit and leave the successfully started child processes running. Add a loop to kill the existing child processes for this case. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 2 01:35:27 CET 2012 on sn-devel-104
2012-02-01selftest: Remove unused support for --exeextAndrew Bartlett3-3/+3
2012-01-29auth: provide private pointer and do not return original PAC signaturesAndrew Bartlett1-34/+40
There is no need to return the PAC signatures via the special-purpose torture element. Instead, use a private pointer on the auth_context in conjunction with the private PAC processing method. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jan 29 23:52:50 CET 2012 on sn-devel-104
2012-01-25s4-torture: For authenticated users, add AUTHENTICATED USERS sidAmitay Isaacs1-0/+4
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Jan 25 01:36:02 CET 2012 on sn-devel-104
2012-01-20torture: add spoolss overlapping driver deletion testsDavid Disseldorp1-1/+118
Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Fri Jan 20 18:20:14 CET 2012 on sn-devel-104
2012-01-20torture: confirm printer driver file removalDavid Disseldorp1-1/+81
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-01-20torture: add spoolss del printer driver testDavid Disseldorp1-0/+63
Test handling of DeletePrinterDriverEx when the DPD_DELETE_ALL_FILES flag is set. Signed-off-by: Andreas Schneider <asn@samba.org>
2012-01-13s4-smbtorture: tweak spoolss_OpenPrinterEx devmodeDavid Disseldorp1-2/+2
Flip some bits after the null terminator in the spoolss device mode character arrays to trigger bug 8606. Signed-off-by: Jeremy Allison <jra@samba.org>
2012-01-04LDAP-CLDAP: demonstrate that pdc name is not an unc pathStefan Metzmacher1-0/+9
For LOGON_SAM_LOGON_RESPONSE_EX and LOGON_SAM_LOGON_USER_UNKNOWN_EX, pdc name is not in unc path form. [MS-ADTS] 7.3.1.* uses UnicodeLogonServer, which seems to be in unc form, while NetbiosComputerName is not in unc form. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 4 20:06:14 CET 2012 on sn-devel-104
2012-01-04s4:torture/nbt/dgram.c - NBT samlogon requests don't return the PDC name as ↵Matthias Dieter Wallnöfer1-0/+5
UNC path Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-04LDAP-CLDAP: demonstrate that pdc name is an unc pathStefan Metzmacher1-0/+6
For LOGON_SAM_LOGON_RESPONSE and LOGON_SAM_LOGON_USER_UNKNOWN, I assume all levels without _EX in the name, pdc name is in unc path form. [MS-ADTS] 7.3.1.* uses UnicodeLogonServer, which seems to be in unc form, while NetbiosComputerName is not in unc form. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 4 13:37:42 CET 2012 on sn-devel-104
2012-01-04s4:torture/nbt/dgram.c: NBT samlogon requests without _EX return the PDC ↵Stefan Metzmacher1-0/+22
name as UNC path metze
2012-01-02s4:torture/rpc/netlogon.c - enhance the "DsRGetDCName*" testsMatthias Dieter Wallnöfer1-0/+96
To check for the expected behaviour (DS_* flags). Always according to MS-NRPC 2.2.1.2.1. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 2 20:43:05 CET 2012 on sn-devel-104
2011-12-29s4-toture: Rename memory contexts in rpc.pac for greater clarityAndrew Bartlett1-13/+13
This should better follow the mem_ctx/tmp_ctx pattern used elsewhere in Samba. Thankyou Simo for the suggestion. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Dec 29 14:14:06 CET 2011 on sn-devel-104
2011-12-29s4-torture: Demonstrate handling of the PAC in a custom auth_contextAndrew Bartlett1-3/+80
This demonstrates how a different function pointer can be supplied to handle the PAC blob, without depending on the provisioned samdb etc. Andrew Bartlett