summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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
2011-11-29s4:torture/rpc: use talloc_zero() in torture_join_domain()Stefan Metzmacher1-2/+2
metze
2011-11-27s4:torture/ldap/cldap.c - remove the ↵Matthias Dieter Wallnöfer1-87/+4
"test_cldap_netlogon_flag_ds_dns_forest" test The test is wrong since the DNS_* (DS_DNS_CONTROLLER, DS_DNS_DOMAIN, DS_DNS_FOREST_ROOT) flags are never set on the plain CLDAP pipe. They get added only over the DsRGetDCName* calls over NETLOGON RPC. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 27 16:23:27 CET 2011 on sn-devel-104
2011-11-26smbtorture: avoid sigsev if the password is not correctMatthieu Patou1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-24s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher2-13/+23
metze
2011-11-24s4:torture/smb2: use tctx->ev as event context for pollingStefan Metzmacher3-8/+7
metze
2011-11-21Fix a bunch of "warning: variable ‘XXXX’ set but not used ↵Jeremy Allison9-40/+28
[-Wunused-but-set-variable]" warnings from the new gcc. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 21 23:39:08 CET 2011 on sn-devel-104
2011-11-20s4-smbtorture: add ndr test for nbt_netlogon_packet to avoid future regressions.Günther Deschner1-0/+36
Guys, we really should make sure to always add ndr tests like this whenever we change some sensitive libndr or handmarshalling bits. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Sun Nov 20 23:10:39 CET 2011 on sn-devel-104
2011-11-15s4:torture/rpc/samr.c - use "NULL" instead of "0" when initialising pointersMatthias Dieter Wallnöfer1-1/+1
2011-11-14s4-smbtorture: add spoolss_OpenPrinterEx ndr test with full devmode.Günther Deschner1-0/+183
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 14 20:21:48 CET 2011 on sn-devel-104
2011-11-09s4:torture:smb2: rewrite durable-open.open test to use smb2_*_create functionsMichael Adam1-26/+7
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 9 02:36:36 CET 2011 on sn-devel-104
2011-11-09s4:torture:smb2: rewrite the durable-open.lock test to use smb2_lease_create()Michael Adam1-23/+3
2011-11-09s4:torture:smb2: rewrite the durable-open.lease test to use smb2_lease_create()Michael Adam1-29/+6
2011-11-09s4:torture:smb2: rewrite the durable-open.oplock test to use ↵Michael Adam1-19/+3
smb2_oplock_create()
2011-11-09s4:torture:smb2: rewrite the durable-open.file-position test to use ↵Michael Adam1-18/+2
smb2_oplock_create()
2011-11-09s4:torture:smb2: rewrite the durable-open.open2 test to use ↵Michael Adam1-26/+6
smb2_lease_create_share()
2011-11-09s4:torture:smb2: rewrite the durable-open.open1 test to use ↵Michael Adam1-21/+6
smb2_oplock_create_share()
2011-11-09s4:torture:smb2: add smb2_oplock_create_share() that takes sharemode as ↵Michael Adam1-2/+8
parameter
2011-11-09s4:torture:smb2: add smb2_lease_create_share() that takes a sharemode as ↵Michael Adam1-2/+12
parameter
2011-11-09s4:torture:smb2: add smb2_generic_create_share() that also takes the ↵Michael Adam1-7/+17
sharemode as parameter
2011-11-09s4:torture:smb2: move the smb2_create_*() utility functions from lease.c to ↵Michael Adam2-54/+57
util.c for re-use
2011-11-09s4:torture:smb2: use smb2_util_oplock_level() in the durable-open test for ↵Michael Adam1-38/+38
convenience
2011-11-09s4:torture:smb2: lease: oplock_level is uint8_t, not uint32_t or intMichael Adam2-6/+6
2011-11-09s4:torture:smb2: move oplock() from lease.c to smb2_util_oplock_level() in ↵Michael Adam2-35/+36
util.c for re-use
2011-11-09s4:torture:smb2: extract map_sharemode() to smb2_util_share_access() in util.cMichael Adam2-24/+25
2011-11-09s4:torture:smb2: use common smb2_util_lease_state() in the lease testsMichael Adam1-55/+34
2011-11-09s4:torture:smb2: extract map_lease() to util.c as smb2_util_lease_state().Michael Adam2-24/+25
2011-11-09s4:torture:smb2: fix illegal write/uninitialized data bug in the ↵Michael Adam1-0/+1
lease.multibreak test
2011-11-09s4:torture:smb2: lease.update2: some more reasonable struct names and a commentMichael Adam1-3/+7
2011-11-09s4:torture:smb2: change the test file name in the durable-open.oplock testMichael Adam1-1/+1
to a more reasonable name. This one must have been copied from the durable-open.lease test.
2011-11-09samr: filterModuleName is a lsa_String in userPwdChangeFailureInformation.Günther Deschner1-0/+2
The entire marshalling of samr_ChangePasswordUser3 broke with c2685cdedb430ae75a94e86f34484292b4269363. Matthias, the bad effect of this change was that actually all failed password change attempts will always return NT_STATUS_OK because the last 4 bytes (the resulting status code) were not marshalled anymore. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 9 00:41:13 CET 2011 on sn-devel-104
2011-11-08s4-smbtorture: demonstrate how broken our samr_ChangePasswordUser3 ↵Günther Deschner1-0/+32
marshalling is... Guenther
2011-11-03s4-smbtorture: add some ndr validation tests for netlogon_samlogon_response ↵Günther Deschner1-1/+57
structs. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Nov 3 20:08:20 CET 2011 on sn-devel-104
2011-11-03nbt: trim down header dependencies of nbt.idl.Günther Deschner1-0/+1
Guenther
2011-11-01s4:torture:smb2: add a new durable-open.upgrade2 test to test all upgrade ↵Michael Adam1-0/+90
combinations Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Nov 1 04:58:03 CET 2011 on sn-devel-104
2011-11-01s4:torture:smb2: expand durable-open.open2 test matrix by all share-modesMichael Adam1-9/+48
2011-11-01s4:torture:smb2: expand durable-open.open1 test matrix by all share-modesMichael Adam1-8/+62
2011-11-01s4:torture:smb2: rename the durable-open.basic2 test to durable-open.open2 ↵Michael Adam1-14/+14
for clarity
2011-11-01s4:torture:smb2: rename the durable-open.basic1 test to durable-open.open1 ↵Michael Adam1-14/+14
for clarity
2011-10-31s4:torture/smb2: fix compound.invalid2 against windowsStefan Metzmacher1-2/+2
Tested against w2k8r2 with signing and win8pre0 without signing. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 31 21:40:25 CET 2011 on sn-devel-104
2011-10-31s4-torture: smb2 copychunk data integrity checksDavid Disseldorp1-0/+72
Perform simple integrity checks on destination file data following a successful copychunk request. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Mon Oct 31 19:28:20 CET 2011 on sn-devel-104
2011-10-31s4-torture: add smb2 copychunk ioctl testsDavid Disseldorp1-7/+285
test_ioctl_copy_chunk_multi: Issue a copychunk request with multiple chunk descriptors. test_ioctl_copy_chunk_over: Issue a copychunk request with overlapping chunks. test_ioctl_copy_chunk_append: append data as part of a copy chunk test_ioctl_copy_chunk_tiny: issue request with sub FS block size chunk descriptors. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-31s4-torture: split common copychunk ioctl test code into helpersDavid Disseldorp1-53/+112
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-31s4-torture: Add tests for the smb2 copychunk ioctlDavid Disseldorp2-2/+173
Add idls for parsing of copychunk ioctl args. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-30s4:torture:smb2: add durable_open_basic2 test: test durable open against all ↵Michael Adam1-0/+146
lease types Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Oct 30 20:17:16 CET 2011 on sn-devel-104
2011-10-30s4:torture:smb2: add a new durable_open_basic1 test: test open against all ↵Michael Adam1-0/+111
oplock types