summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-07lib/tdb2: adapt unit tests to SAMBA environment.Rusty Russell89-147/+234
This means changing headers, implementing a simple tap-like wrapper, and also splitting out the helpers into those which are linked with the api* tests (which can't use non-public tdb2 functions) and those linked with the run* tests (which can). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-07lib/ccan: import failtest and required ccan modules for TDB2 unit tests.Rusty Russell69-0/+7608
New modules: failtest, list, time, read_write_all and tlist. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-07s3:selftest: ask smbtorture4 for smb2 testsGregor Beck1-2/+9
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 7 01:34:05 CET 2012 on sn-devel-104
2012-03-06selftest: skip samba3.smb2.scan because they are no testsGregor Beck1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: remove samba3.smb2.*scan from knownfailGregor Beck1-2/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture make a suite for smb2.*scanGregor Beck2-8/+19
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: print ntstatus on failure of setup complex file in smb2 ↵Gregor Beck1-3/+6
setinfo/getinfo scan Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: use different filenames for smb2 setinfo and getinfo scanGregor Beck1-7/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: cleanup after smb2 setinfo scanGregor Beck1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: cleanup after smb2 getinfo scanGregor Beck1-0/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: skip samba3.smb2.session because it hangsGregor Beck1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: skip samba3.smb2.hold-oplock because its not a testGregor Beck1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: mark samba3.smb2.ioctl tests knownfailGregor Beck1-0/+7
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: mark samba3.smb2.durable-v2-open tests as knownfailStefan Metzmacher1-0/+4
metze
2012-03-06selftest: mark samba3.smb2.durable-open.oplock test knownfailGregor Beck1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: mark samba3.smb2.durable-open reopen tests knownfailGregor Beck1-0/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: samba3.smb2.compound.invalid2 worksGregor Beck1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06selftest: mark smb2 tests knownfail failing in 3.6Gregor Beck1-0/+37
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: avoid reporting error on failure of smb2.ioctl testsGregor Beck1-148/+79
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: avoid reporting error on failure of smb2.getinfo testGregor Beck1-54/+32
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: avoid reporting error on failure of smb2.setinfo testGregor Beck1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: avoid reporting error on failure of smb2.streams testsGregor Beck1-11/+14
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s4:torture: avoid reporting error on failure of smb2.acls testsGregor Beck1-1/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06s3:smbd: keep 'num_files' and 'files' directly under smbd_server_connectionStefan Metzmacher2-8/+9
The plan is to have files_struct as some kind of low level abstraction for a smb1/smb2 opens, that can be used by SMB_VFS modules. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Mar 6 23:04:01 CET 2012 on sn-devel-104
2012-03-06s3:smbd: keep 'num_connections' and 'connections' directly under ↵Stefan Metzmacher5-154/+52
smbd_server_connection The plan is to have connection_struct as some kind of low level abstraction for a smb1/smb2 tree connects, that can be used by SMB_VFS modules. metze
2012-03-06s3:smbd: keep 'num_users' and 'users' directly under smbd_server_connectionStefan Metzmacher4-20/+17
The plan is to have users_struct as some kind of low level abstraction for a smb1/smb2 session, that can be used by SMB_VFS modules. metze
2012-03-06s3:msdfs: set the 'cnum' field to invalid for faked connection_structsStefan Metzmacher1-0/+1
metze
2012-03-06s4 dns: Fix TCP handling in the DNS serverKai Blin4-13/+60
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Mar 6 21:17:19 CET 2012 on sn-devel-104
2012-03-06s3: Move a talloc_strdup out of the main code pathVolker Lendecke1-15/+31
This is only used for AS_GUEST requests Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Mar 6 14:29:50 CET 2012 on sn-devel-104
2012-03-06s3: Fix some format string warningsVolker Lendecke1-9/+13
We were printing nmb->header.name_trn_id with %hu, which denotes a short. However, header.name_trn_id is an int for the better or worse.
2012-03-06policy/python: Move python binding tests to standard location.Jelmer Vernooij2-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 6 02:26:29 CET 2012 on sn-devel-104
2012-03-06selftest/tests.py: Fix name of selftest.py for benefit of --load-list.Jelmer Vernooij1-1/+1
2012-03-06selftest.py: Only run teardown_all when actually relevant.Jelmer Vernooij1-3/+1
2012-03-05s3-rpc_server: Remove remaining code for embedded endpoint mapperAndrew Bartlett1-23/+0
Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Mar 5 23:14:33 CET 2012 on sn-devel-104
2012-03-05s3-rpc_server: Only init and register embedded RPC services in dcesrv_ep_setup()Andrew Bartlett1-37/+66
This consults the two definitions for embedded, that is if the deamon is forking or if the rpc_server:<interface> line is set to embedded. Andrew Bartlett Signed-off-by: Andreas Schneider <asn@samba.org>
2012-03-05s3: Fix a "Invalid (state->nread >= 0)" warningVolker Lendecke1-1/+1
Both read_from_internal_pipe and tstream_readv_pdu_queue_recv return ssize_t. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 5 17:38:16 CET 2012 on sn-devel-104
2012-03-05s3: Move the drain_socket on error to reply_write_and_XVolker Lendecke2-9/+9
That's the only case where this can happen, so we should not clutter the main code path.
2012-03-05s3: Use "goto out;" in reply_write_and_XVolker Lendecke1-18/+9
2012-03-05s3: Remove "size" param from switch_messageVolker Lendecke1-3/+3
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 5 15:13:49 CET 2012 on sn-devel-104
2012-03-05s3: Remove "size" param from smb_dumpVolker Lendecke1-4/+5
2012-03-05s3-lsasd: Fix debug messages on registration failureAndrew Bartlett1-3/+3
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Mar 5 09:50:17 CET 2012 on sn-devel-104
2012-03-05selftest: Reduce declarations of smbclient_auth tests by moving into a loopAndrew Bartlett1-3/+1
2012-03-05selftest: run smbtorture_s3 tests against the ntvfs file serverAndrew Bartlett3-1/+16
This checks not only the behaviour of the NTVFS file server, but also the client library and authentication stack. Andrew Bartlett
2012-03-05selftest: Reduce time in cleanup loop, try waitpid on all 3 childrenAndrew Bartlett1-6/+12
2012-03-05selftest: start to run more dcerpc tests against plugin_s4_dcAndrew Bartlett1-1/+2
2012-03-05selftest: forward rpcecho to Samba4 in plugin_s4_dcAndrew Bartlett1-1/+1
2012-03-05selftest.run: Factor out read_testlist_file and open_file_or_pipe.Jelmer Vernooij3-17/+87
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 5 05:42:19 CET 2012 on sn-devel-104
2012-03-05selftest.run: Factor out exported_envvars_str.Jelmer Vernooij3-12/+26
2012-03-05selfclient.client: Factor out write_clientconf.Jelmer Vernooij2-62/+83
2012-03-05selftest.run: Factor out expand_command_run.Jelmer Vernooij3-17/+73