summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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
2011-12-23s4:torture/rpc/netlogon.c - factor out the computer name check in an own testMatthias Dieter Wallnöfer1-11/+61
This check is by no ways specific to "DsRGetSiteName" and hence it should be factored out in an own function. Samba at the moment does not implement the expected behaviour so I have added the "torture_skip" action. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 23 12:17:48 CET 2011 on sn-devel-104
2011-12-22s4-torture: Test rpc schannel netr_LogonGetCapability.Stefan Metzmacher2-0/+62
metze
2011-12-17s4:torture/rap/printing: check smbcli_rap_netprintqgetinfo() WERR statusStefan Metzmacher1-0/+7
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Dec 17 01:09:32 CET 2011 on sn-devel-104
2011-12-14s4-smbtorture: make sure we can successfully run the schannel test against ↵Günther Deschner1-16/+30
windows. lsa lookupsids3/lookupnames4 is only available over schannel sealed ncacn_ip_tcp. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 14 17:28:29 CET 2011 on sn-devel-104
2011-12-14s4-torture: LookupSids3 is only available over NCACN_IP_TCP.Andreas Schneider1-1/+2
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Dec 14 15:39:58 CET 2011 on sn-devel-104
2011-12-14s4-torture: Fix schannel test against win2k8.Andreas Schneider1-4/+4
2011-12-14s4-smbtorture: fix some typos in schannel test.Günther Deschner1-3/+3
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 14 02:52:54 CET 2011 on sn-devel-104
2011-12-14s4-smbtorture: avoid printf(); in schannel test.Günther Deschner1-13/+13
Guenther
2011-12-14s4-smbtorture: remove trailing whitespace from schannel test.Günther Deschner1-41/+41
Guenther
2011-12-12s4-torture Do not use a fixed password for forest trust testsAndrew Bartlett1-7/+13
It is much better to always use random passwords. Andrew Bartlett
2011-12-12s4-torture cope with servers earlier than Windows 2008Andrew Bartlett1-0/+5
Only Win2008 started to support new encryption types. Andrew Bartlett
2011-12-12s4-torture Modify rpc.lsa.forest.trust test to progress further FL Win2003 R2Andrew Bartlett1-3/+9
This modification is required to pass against a domain in functional level Windows 2003 or later. Andrew Bartlett
2011-12-12s4-torture: Fix commentAndrew Bartlett1-1/+1
2011-12-12torture: do not reuse bindings between pipesAndrew Bartlett1-6/+10
This avoids connecting to the netlogon server over \pipe\lsarpc This works against windows because all pipes are implemented in the same process, but not Samba4, and relying on this is not recommended in the WSPP docs. Andrew Bartlett
2011-12-03Revert making public of the samba-module library.Jelmer Vernooij2-7/+7
This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
2011-11-30s4:libcli/raw: implement on top of smbXcli_conn/reqStefan Metzmacher3-20/+57
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 30 15:13:36 CET 2011 on sn-devel-104
2011-11-30s4:libcli: move smbcli_transport_establish() logic into smbcli_socket_connect()Stefan Metzmacher1-8/+8
metze
2011-11-29s4:torture: use tctx->ev as event context for pollingStefan Metzmacher6-22/+14
metze
2011-11-29s4:gentest: get the tid from the smbcli_tree structStefan Metzmacher1-2/+4
metze