summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lib/tdb2: wire up unit tests.Rusty Russell2012-03-072-1/+81
| | | | | | | | | The tests are ccan-style, so the names tell how to link them. This logic is generic, and could be moved to wafsamba, cleaned up, and used elsewhere. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb2: adapt unit tests to SAMBA environment.Rusty Russell2012-03-0789-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>
* lib/ccan: import failtest and required ccan modules for TDB2 unit tests.Rusty Russell2012-03-0769-0/+7608
| | | | | | | New modules: failtest, list, time, read_write_all and tlist. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3:selftest: ask smbtorture4 for smb2 testsGregor Beck2012-03-071-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
* selftest: skip samba3.smb2.scan because they are no testsGregor Beck2012-03-061-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: remove samba3.smb2.*scan from knownfailGregor Beck2012-03-061-2/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture make a suite for smb2.*scanGregor Beck2012-03-062-8/+19
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: print ntstatus on failure of setup complex file in smb2 ↵Gregor Beck2012-03-061-3/+6
| | | | | | setinfo/getinfo scan Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: use different filenames for smb2 setinfo and getinfo scanGregor Beck2012-03-061-7/+11
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: cleanup after smb2 setinfo scanGregor Beck2012-03-061-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: cleanup after smb2 getinfo scanGregor Beck2012-03-061-0/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: skip samba3.smb2.session because it hangsGregor Beck2012-03-061-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: skip samba3.smb2.hold-oplock because its not a testGregor Beck2012-03-061-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: mark samba3.smb2.ioctl tests knownfailGregor Beck2012-03-061-0/+7
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: mark samba3.smb2.durable-v2-open tests as knownfailStefan Metzmacher2012-03-061-0/+4
| | | | metze
* selftest: mark samba3.smb2.durable-open.oplock test knownfailGregor Beck2012-03-061-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: mark samba3.smb2.durable-open reopen tests knownfailGregor Beck2012-03-061-0/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: samba3.smb2.compound.invalid2 worksGregor Beck2012-03-061-1/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* selftest: mark smb2 tests knownfail failing in 3.6Gregor Beck2012-03-061-0/+37
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: avoid reporting error on failure of smb2.ioctl testsGregor Beck2012-03-061-148/+79
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: avoid reporting error on failure of smb2.getinfo testGregor Beck2012-03-061-54/+32
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: avoid reporting error on failure of smb2.setinfo testGregor Beck2012-03-061-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: avoid reporting error on failure of smb2.streams testsGregor Beck2012-03-061-11/+14
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: avoid reporting error on failure of smb2.acls testsGregor Beck2012-03-061-1/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: keep 'num_files' and 'files' directly under smbd_server_connectionStefan Metzmacher2012-03-062-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
* s3:smbd: keep 'num_connections' and 'connections' directly under ↵Stefan Metzmacher2012-03-065-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
* s3:smbd: keep 'num_users' and 'users' directly under smbd_server_connectionStefan Metzmacher2012-03-064-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
* s3:msdfs: set the 'cnum' field to invalid for faked connection_structsStefan Metzmacher2012-03-061-0/+1
| | | | metze
* s4 dns: Fix TCP handling in the DNS serverKai Blin2012-03-064-13/+60
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Mar 6 21:17:19 CET 2012 on sn-devel-104
* s3: Move a talloc_strdup out of the main code pathVolker Lendecke2012-03-061-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
* s3: Fix some format string warningsVolker Lendecke2012-03-061-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.
* policy/python: Move python binding tests to standard location.Jelmer Vernooij2012-03-062-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 6 02:26:29 CET 2012 on sn-devel-104
* selftest/tests.py: Fix name of selftest.py for benefit of --load-list.Jelmer Vernooij2012-03-061-1/+1
|
* selftest.py: Only run teardown_all when actually relevant.Jelmer Vernooij2012-03-061-3/+1
|
* s3-rpc_server: Remove remaining code for embedded endpoint mapperAndrew Bartlett2012-03-051-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
* s3-rpc_server: Only init and register embedded RPC services in dcesrv_ep_setup()Andrew Bartlett2012-03-051-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>
* s3: Fix a "Invalid (state->nread >= 0)" warningVolker Lendecke2012-03-051-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
* s3: Move the drain_socket on error to reply_write_and_XVolker Lendecke2012-03-052-9/+9
| | | | | That's the only case where this can happen, so we should not clutter the main code path.
* s3: Use "goto out;" in reply_write_and_XVolker Lendecke2012-03-051-18/+9
|
* s3: Remove "size" param from switch_messageVolker Lendecke2012-03-051-3/+3
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 5 15:13:49 CET 2012 on sn-devel-104
* s3: Remove "size" param from smb_dumpVolker Lendecke2012-03-051-4/+5
|
* s3-lsasd: Fix debug messages on registration failureAndrew Bartlett2012-03-051-3/+3
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Mar 5 09:50:17 CET 2012 on sn-devel-104
* selftest: Reduce declarations of smbclient_auth tests by moving into a loopAndrew Bartlett2012-03-051-3/+1
|
* selftest: run smbtorture_s3 tests against the ntvfs file serverAndrew Bartlett2012-03-053-1/+16
| | | | | | | This checks not only the behaviour of the NTVFS file server, but also the client library and authentication stack. Andrew Bartlett
* selftest: Reduce time in cleanup loop, try waitpid on all 3 childrenAndrew Bartlett2012-03-051-6/+12
|
* selftest: start to run more dcerpc tests against plugin_s4_dcAndrew Bartlett2012-03-051-1/+2
|
* selftest: forward rpcecho to Samba4 in plugin_s4_dcAndrew Bartlett2012-03-051-1/+1
|
* selftest.run: Factor out read_testlist_file and open_file_or_pipe.Jelmer Vernooij2012-03-053-17/+87
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 5 05:42:19 CET 2012 on sn-devel-104
* selftest.run: Factor out exported_envvars_str.Jelmer Vernooij2012-03-053-12/+26
|
* selfclient.client: Factor out write_clientconf.Jelmer Vernooij2012-03-052-62/+83
|