summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2010-11-20Move the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_defaultJeremy Allison1-3/+1
module, change the signature of VFS_REALPATH to always return a malloc'ed string. Needed to make some privileges work I plan on doing shortly easier to code. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Nov 20 02:15:50 CET 2010 on sn-devel-104
2010-11-17s3: Fix a missing return valueVolker Lendecke1-1/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 17 20:40:18 UTC 2010 on sn-devel-104
2010-11-11s3: Make cli_set_ea_fnum return NTSTATUSVolker Lendecke1-2/+4
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 11 16:59:27 UTC 2010 on sn-devel-104
2010-11-11s3: Make cli_set_ea_path return NTSTATUSVolker Lendecke1-6/+12
2010-11-10Add test that detects problems in the SMB signing code when run through ↵Jeremy Allison1-11/+35
cli_write() (which doesn't use the new async methods). Unfortunately, and I think due to the socket wrapper code, this doesn't detect the failure on the build farm, but running the RW-SIGNING test separately against a Samba or Windows server using signing does. Jeremy.
2010-11-02s3-debug Remove last direct assignements to DEBUGLEVELAndrew Bartlett3-3/+3
All future assignments of the debug level should go via lp_set_cmdline("log level", "x") because this will ensure the value is not overwritten in an smb.conf load. Andrew Bartlett
2010-11-02s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() insteadAndrew Bartlett1-3/+1
By removing this global variable, the API between the two different debug systems is made more similar. Both s3 and s4 now have lp_set_cmdline() which ensures that the smb.conf cannot overwrite these the user-specified log level. Andrew Bartlett
2010-11-02s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett8-18/+10
This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
2010-10-29Fix bug #7700 - Improvement of return code of smbclientJeremy Allison3-17/+40
Based on an initial patch from H Hasegawa <hasegawa.hiroyuki@fujixerox.co.jp>. Convert cli_list and associated functions to take calls that return NTSTATUS. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104
2010-10-24s3: Replace cli_qfileinfo_test with a call to cli_qfileinfoVolker Lendecke1-19/+10
2010-10-24s3: Convert cli_qfileinfo_basic to cli_qfileinfoVolker Lendecke2-9/+13
2010-10-24s3: Convert cli_qfilename to cli_qfileinfoVolker Lendecke1-1/+1
2010-10-24s3: Rename cli_fileinfo() to cli_fileinfo_basic()Volker Lendecke3-7/+14
2010-10-20Make getpwnam_alloc() static to lib/username.c, and ensure all username ↵Jeremy Allison1-1/+1
lookups go through Get_Pwnam_alloc(), which is the correct wrapper function. We were using it *some* of the time anyway, so this just makes us properly consistent. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 20 16:02:12 UTC 2010 on sn-devel-104
2010-10-20nsstest: no need for two copies of the same tool.Günther Deschner1-495/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 20 15:05:34 UTC 2010 on sn-devel-104
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett4-1/+4
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-08s3: Add a little test for the echo responderVolker Lendecke3-0/+144
2010-10-01samba: share readline wrappers among all buildsystems.Günther Deschner1-0/+1
Guenther
2010-09-27Add torture test BAD-NBT-SESSION as regression fix for bug 7698 - Assert ↵Jeremy Allison1-0/+130
causes smbd to panic on invalid NetBIOS session request. Jeremy.
2010-09-20s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner1-1/+1
Guenther
2010-09-20s3-build: only include async headers where needed.Günther Deschner1-0/+1
Guenther
2010-09-14s3-torture Add tests to show that the dom_sid parsing was faulty.Andrew Bartlett1-0/+98
Andrew Bartlett
2010-09-10s3:torture: fix printf output, lines can't start with lower case "test"Stefan Metzmacher1-31/+30
metze
2010-09-10s3:torture: fix run_uid_regression_testStefan Metzmacher1-8/+20
metze
2010-08-29s3: Remove smbd_server_fd()Volker Lendecke1-7/+1
This breaks the perfcol_onefs() build. Tim, Steve, this use of smbd_server_fd is replacable by calls into substitute.c. I don't have a onefs environment around to build a fix, so I've decided to insert an #error, making it not compile. The fix should be pretty obvious, you can get the socket data via "%I" and "%i" substitutions.
2010-08-26s3-build: use talloc_dict.h only where needed.Günther Deschner1-0/+1
Guenther
2010-08-26s3-build: use dbwrap.h only where needed.Günther Deschner1-0/+1
Guenther
2010-08-26s3-build: only include nsswitch header where needed.Günther Deschner2-0/+2
Guenther
2010-08-26s3-build: only include memcache.h where needed.Günther Deschner1-0/+1
Guenther
2010-08-22s3:pdbtest Fix command name of pdbtestAndrew Bartlett1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2010-08-18s3: async cli_listVolker Lendecke2-20/+36
2010-08-18s3: Lift smbd_server_fd from reload_services()Volker Lendecke1-1/+1
2010-08-16s3-smbtorture: fix printf statement in ioctl test.Günther Deschner1-1/+1
Guenther
2010-08-16s3: Remove get_client_fd()Volker Lendecke1-5/+0
2010-08-08s3: Lift the smbd_messaging_context from reload_servicesVolker Lendecke1-1/+1
2010-08-06s3-smbtorture: include svcctl.hGünther Deschner1-0/+1
Guenther
2010-08-06s3: Remove some explicit calls to procid_self()Volker Lendecke1-3/+3
2010-08-05s3: Fix a crash in masktestVolker Lendecke1-0/+1
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider3-0/+3
2010-08-04s3: Convert cli_list() to return NTSTATUSVolker Lendecke1-5/+23
If needed, the callback functions can count themselves
2010-08-01s3: Fix some nonempty blank linesVolker Lendecke1-8/+8
2010-07-27s3: Remove a typedef (struct file_info)Volker Lendecke3-8/+15
2010-07-26s3: Early start of an async nbenchVolker Lendecke3-0/+500
The current nbench implementations have the problem that they fork a child per simulated client. With hundreds or thousands of clients this can put quite some load on the client. This test (when finished) will read the standard dbench client.txt and run completely async from within one process. Volker
2010-07-26s3: Convert cli_qpathinfo2 to cli_qpathinfo_sendVolker Lendecke1-29/+18
2010-07-26s3: Convert cli_qpathinfo1 to cli_qpathinfoVolker Lendecke1-5/+8
2010-07-25s3: Convert cli_get_ea_list_path to cli_qpathinfo_sendVolker Lendecke1-4/+7
2010-07-25s3: cli_qpathinfo->cli_qpathinfo1Volker Lendecke2-5/+5
2010-06-10s3: Add a dummy test to prove the maxfd calculationVolker Lendecke1-0/+43
To be run in a debugger, there's no way to inspect the internal tevent_select.c maxfd calculation
2010-05-28s3:smbd move messaging_context and memcache into globals.cAndrew Bartlett1-24/+0
This helps vfstest, which previously had duplicate copies of these functions. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3:smbd split reload services/printers functions from server.cAndrew Bartlett1-56/+0
This helps vfstest, as it previously had duplicate copies of these functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>