1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

304 Commits

Author SHA1 Message Date
Volker Lendecke
e7970c02f3 s3: Make cli_set_ea_fnum return NTSTATUS
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Nov 11 16:59:27 UTC 2010 on sn-devel-104
2010-11-11 16:59:27 +00:00
Volker Lendecke
ddd33f0351 s3: Make cli_set_ea_path return NTSTATUS 2010-11-11 16:16:24 +00:00
Jeremy Allison
ac0ffba004 Add test that detects problems in the SMB signing code when run through 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-10 18:07:51 -08:00
Andrew Bartlett
d9f67eebf6 s3-debug Remove last direct assignements to DEBUGLEVEL
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-02 04:36:04 +00:00
Andrew Bartlett
9da4ace1d9 s3-debug Impove setup_logging() to specify logging to stderr
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-11-02 04:36:04 +00:00
Jeremy Allison
14ff2e8de9 Fix bug #7700 - Improvement of return code of smbclient
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-29 19:40:16 +00:00
Volker Lendecke
5a17d26e47 s3: Replace cli_qfileinfo_test with a call to cli_qfileinfo 2010-10-24 11:39:30 +02:00
Volker Lendecke
c095809c04 s3: Convert cli_qfileinfo_basic to cli_qfileinfo 2010-10-24 11:39:30 +02:00
Volker Lendecke
d864b1bace s3: Convert cli_qfilename to cli_qfileinfo 2010-10-24 11:39:30 +02:00
Volker Lendecke
03333fc68c s3: Rename cli_fileinfo() to cli_fileinfo_basic() 2010-10-24 11:39:29 +02:00
Andrew Bartlett
f768b32e37 libcli/security Provide a common, top level libcli/security/security.h
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-12 05:54:10 +00:00
Volker Lendecke
220aa311d1 s3: Add a little test for the echo responder 2010-10-08 21:11:45 +02:00
Jeremy Allison
d7c09f312e Add torture test BAD-NBT-SESSION as regression fix for bug 7698 - Assert causes smbd to panic on invalid NetBIOS session request.
Jeremy.
2010-09-27 18:24:53 -07:00
Günther Deschner
4dbd743e46 s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.
Guenther
2010-09-20 14:04:37 -07:00
Günther Deschner
c7fe04abc7 s3-build: only include async headers where needed.
Guenther
2010-09-20 13:54:42 -07:00
Andrew Bartlett
15abd86d54 s3-torture Add tests to show that the dom_sid parsing was faulty.
Andrew Bartlett
2010-09-14 14:48:49 -07:00
Stefan Metzmacher
c91bdd2b0e s3:torture: fix printf output, lines can't start with lower case "test"
metze
2010-09-10 17:21:33 +02:00
Stefan Metzmacher
a489fb3ee2 s3:torture: fix run_uid_regression_test
metze
2010-09-10 17:21:33 +02:00
Günther Deschner
8b4f5319ef s3-build: use talloc_dict.h only where needed.
Guenther
2010-08-26 00:25:58 +02:00
Günther Deschner
7a05ca2c9c s3-build: use dbwrap.h only where needed.
Guenther
2010-08-26 00:25:55 +02:00
Günther Deschner
7ff7eb0b52 s3-build: only include nsswitch header where needed.
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
aba1bf4b5e s3-build: only include memcache.h where needed.
Guenther
2010-08-26 00:20:28 +02:00
Volker Lendecke
d7c8fb21bb s3: async cli_list 2010-08-18 15:14:02 +02:00
Günther Deschner
731604d8ae s3-smbtorture: fix printf statement in ioctl test.
Guenther
2010-08-16 13:30:50 +02:00
Günther Deschner
af38b5f800 s3-smbtorture: include svcctl.h
Guenther
2010-08-06 15:43:37 +02:00
Volker Lendecke
867626abca s3: Convert cli_list() to return NTSTATUS
If needed, the callback functions can count themselves
2010-08-04 20:32:50 +02:00
Volker Lendecke
dace013898 s3: Remove a typedef (struct file_info) 2010-07-27 21:05:35 +02:00
Volker Lendecke
75db0f0a63 s3: Early start of an async nbench
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-26 23:10:39 +02:00
Volker Lendecke
f62bde93ce s3: Convert cli_qpathinfo2 to cli_qpathinfo_send 2010-07-26 23:01:37 +02:00
Volker Lendecke
0ba4404f21 s3: Convert cli_qpathinfo1 to cli_qpathinfo 2010-07-26 09:51:37 +02:00
Volker Lendecke
334d5bfe30 s3: Convert cli_get_ea_list_path to cli_qpathinfo_send 2010-07-25 22:29:44 +02:00
Volker Lendecke
ce3dfd777f s3: cli_qpathinfo->cli_qpathinfo1 2010-07-25 22:29:42 +02:00
Volker Lendecke
1819beb088 s3: Add a dummy test to prove the maxfd calculation
To be run in a debugger, there's no way to inspect the internal tevent_select.c
maxfd calculation
2010-06-10 11:24:00 +02:00
Jeremy Allison
b481b8e1f5 Fix the build of bin/smbtorture in source3. Guenther please check !
Jeremy.
2010-05-17 17:17:44 -07:00
Jeremy Allison
b6aabcd628 Add torture test for bug 7310 - DOS attribute inconsistency with MS Office
Ensure we don't regress.

Jeremy.
2010-04-01 15:01:43 -07:00
Simo Sorce
9f53820de7 s3:tldap add own filter parsing
Also add torture test to check filter parsing.
2010-03-09 15:23:48 -05:00
Jeremy Allison
3aee8e73b0 Ensure STREAMERROR deletes any files in the \\testdir
before rmdir and mkdir.
Jeremy.
2010-02-22 15:04:10 -08:00
Volker Lendecke
15edc96f49 s3: Use the status from cli_raw_ioctl in torture_ioctl_test 2010-02-21 11:42:41 +01:00
Volker Lendecke
e38908ea65 s3: Rename LOCAL-dom_sid_parse to LOCAL-string_to_sid, add some tests 2010-02-20 21:35:03 +01:00
Volker Lendecke
1e8a84aac7 s3: Add printf why LOCAL-dom_sid_parse failed 2010-02-20 21:35:03 +01:00
Volker Lendecke
a035062f11 s3:torture: add a test LOCAL-DBTRANS to torture dbwrap with transactions. 2010-02-12 23:12:09 +01:00
Volker Lendecke
b13dd17840 s3: setup debug for smbtorture 2010-02-12 23:12:09 +01:00
Jeremy Allison
a35be8c0c2 Torture test for bug 7084 - Create time on directories not stored properly in an EA in new create time code.
Ensure new files in a directory don't reset the create time.

Jeremy.
2010-02-01 18:49:50 -08:00
Volker Lendecke
397a6faed9 s3: Add a little torture test for dom_sid_parse 2010-01-23 16:28:11 +01:00
Volker Lendecke
ac5b090a41 s3: Fix a shadowed variable warning 2010-01-03 21:14:58 +01:00
Volker Lendecke
675d5fe981 s3: Fix an uninitialized variable warning 2010-01-03 21:14:58 +01:00
Volker Lendecke
37ac16a88f s3: Convert cli_ulogoff to the async API 2010-01-03 21:14:57 +01:00
Volker Lendecke
99f292479f s3: Convert cli_tdis to the async API 2010-01-03 21:14:57 +01:00
Volker Lendecke
7bbee8dc17 s3: Add a regression test for bug 6898 2009-11-29 16:12:51 +01:00
Volker Lendecke
603a3ba19e s3: Factor out torture_setup_unix_extensions 2009-11-29 16:12:51 +01:00