1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

586 Commits

Author SHA1 Message Date
Volker Lendecke
e466bb4af4 s3: Remove smbd_server_fd()
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-29 21:55:25 +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
Andrew Bartlett
abcfc11497 s3:pdbtest Fix command name of pdbtest
Signed-off-by: Michael Adam <obnox@samba.org>
2010-08-22 23:20:40 +02:00
Volker Lendecke
d7c8fb21bb s3: async cli_list 2010-08-18 15:14:02 +02:00
Volker Lendecke
ac7b63384d s3: Lift smbd_server_fd from reload_services() 2010-08-18 11:18:21 +02:00
Günther Deschner
731604d8ae s3-smbtorture: fix printf statement in ioctl test.
Guenther
2010-08-16 13:30:50 +02:00
Volker Lendecke
96ae457023 s3: Remove get_client_fd() 2010-08-16 13:13:10 +02:00
Volker Lendecke
39da717fe1 s3: Lift the smbd_messaging_context from reload_services 2010-08-08 18:09:33 +02:00
Günther Deschner
af38b5f800 s3-smbtorture: include svcctl.h
Guenther
2010-08-06 15:43:37 +02:00
Volker Lendecke
bf9a1dd460 s3: Remove some explicit calls to procid_self() 2010-08-06 15:15:57 +02:00
Volker Lendecke
a13b96f04a s3: Fix a crash in masktest 2010-08-05 12:46:40 +02:00
Andreas Schneider
ce2a086119 s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +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
0213cfa6af s3: Fix some nonempty blank lines 2010-08-01 18:11:06 +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
Andrew Bartlett
59422efca9 s3:smbd move messaging_context and memcache into globals.c
This helps vfstest, which previously had duplicate copies of these functions.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:27 +02:00
Andrew Bartlett
6f279de0e6 s3:smbd split reload services/printers functions from server.c
This helps vfstest, as it previously had duplicate copies of these
functions.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:26 +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
Günther Deschner
c6ebab846d s3: only include gen_ndr headers where needed.
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
as follows:

ccache build w/o patch
real    4m21.529s
ccache build with patch
real    3m6.402s

pch build w/o patch
real    4m26.318s
pch build with patch
real    3m6.932s

Guenther
2010-05-06 00:22:59 +02:00
Volker Lendecke
53dec15427 s3: Fix a comment 2010-04-02 10:17:14 +02: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
Volker Lendecke
c31cf0a1b5 s3: Consolidate some pid_to_procid() calls to procid_self() 2010-02-23 17:20:28 +01:00
Volker Lendecke
752bffc53f s3: Consolidate server_id_self into the equivalent procid_self() 2010-02-23 15:30:00 +01: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
Michael Adam
350352cf38 s3:torture: make t_stringoverflow.c compile at least (pstring is long gone)
I don't know whether these t_* programs are used at all any more, but this
one was using pstrcpy...

Michael
2009-12-01 00:55:34 +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
Günther Deschner
d6c60f8447 s3-nsstest: drastically shrink size and dependencies of nsstest binary.
The size went down from 6.4M to 104K on my box.

Guenther
2009-11-27 10:47:11 +01:00
Stefan Metzmacher
be90385a0b s3:torture: use timeval_current/timeval_elapsed instead of start_timer/end_timer
metze
2009-11-24 11:49:03 +01:00