summaryrefslogtreecommitdiff
path: root/source3/torture/vfstest.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
* s3-globals Remove smbd_event_context() (use server_event_context())Andrew Bartlett2011-05-311-10/+0
| | | | | | | | This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett
* s3-vfs: include smbd/smbd.h in vfs modules.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-vfstest: fixed paths in vfstestAndrew Tridgell2010-12-101-0/+2
| | | | | vfstest tries to create /messages.tdb as loadparm has not been initialised
* s3-debug Remove last direct assignements to DEBUGLEVELAndrew Bartlett2010-11-021-1/+1
| | | | | | | | 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
* s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett2010-11-021-1/+1
| | | | | | | | 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
* samba: share readline wrappers among all buildsystems.Günther Deschner2010-10-011-0/+1
| | | | Guenther
* s3: Remove smbd_server_fd()Volker Lendecke2010-08-291-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.
* s3: Lift smbd_server_fd from reload_services()Volker Lendecke2010-08-181-1/+1
|
* s3: Remove get_client_fd()Volker Lendecke2010-08-161-5/+0
|
* s3: Lift the smbd_messaging_context from reload_servicesVolker Lendecke2010-08-081-1/+1
|
* s3-popt: Only include popt-common.h when needed.Andreas Schneider2010-08-051-0/+1
|
* s3:smbd move messaging_context and memcache into globals.cAndrew Bartlett2010-05-281-24/+0
| | | | | | This helps vfstest, which previously had duplicate copies of these functions. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd split reload services/printers functions from server.cAndrew Bartlett2010-05-281-56/+0
| | | | | | | | | This helps vfstest, as it previously had duplicate copies of these functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Consolidate server_id_self into the equivalent procid_self()Volker Lendecke2010-02-231-1/+1
|
* source3/torture/vfstest.c(process_file): fixed file descriptor leak.Slava Semushin2009-06-051-0/+4
| | | | | Found by cppcheck: [./source3/torture/vfstest.c:400]: (error) Resource leak: file
* s3:smbd: move tcon specific globals to struct smbd_server_connectionStefan Metzmacher2009-06-031-3/+3
| | | | metze
* Use separate make variables for libutil and libcrypto.Jelmer Vernooij2008-10-181-1/+1
|
* Remove "user" from connection_structVolker Lendecke2008-05-101-1/+0
| | | | (This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
* Add a in-memory cacheVolker Lendecke2007-12-181-0/+13
| | | | | | | | | | | | This is a more general API that caches data with a LRU scheme. See include/cache.h. No comments yet, I'm still working on it. But Jeremy has given me a hint in one of his checkins that he would like to make use of this now. The idea is that we get rid of all our silly little caches and merge them all into one cache that we can then very easily trim, for example even with a smbcontrol message if someone decides memory is tight. The main user is the stat cache, this patch also converts the getwd cache. More caches to come. (This used to be commit 7a911b35713538d82001a3c9f34152e293fe1943)
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-3/+3
| | | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison2007-12-061-3/+6
| | | | | | Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
* The usual !pstring...Jeremy Allison2007-12-041-44/+36
| | | | | Jeremy. (This used to be commit b676262a781363e7be49b21817668a53cca75c2d)
* Remove the silly "user_socket_options" global variableVolker Lendecke2007-11-091-3/+2
| | | | | This is better done with a 'lp_do_parameter(-1, "socket options", ..); (This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
* Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison2007-11-031-0/+5
| | | | | | | I have a plan for dealing with the remaining..... Watch this space. Jeremy. (This used to be commit 963fc7685212689f02b3adcc05b4273ee5c382d4)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-3/+3
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r21090: Add some helper routinesVolker Lendecke2007-10-101-0/+11
| | | | (This used to be commit 985dde8ed0a7e6da5adf9c55654a4fd362b22acb)
* r20846: Before this gets out of control...Volker Lendecke2007-10-101-0/+10
| | | | | | | | | | | | This add a struct event_context and infrastructure for fd events to smbd. This is step zero to import lib/events. Jeremy, I rely on you to watch the change in receive_message_or_smb() closely. For the normal code path this should be the only relevant change. The rest is either not yet used or is cosmetic. Volker (This used to be commit cd07f93a8aecb24c056e33b1ad3447a41959810f)
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-1/+1
| | | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
* r15034: Attempt to make the build farm happyVolker Lendecke2007-10-101-1/+1
| | | | (This used to be commit 8b3e87184a3cc831fe0314c3b26b6d753cf74e4c)
* r14898: This change is an attempt to improve the quality of the information thatJames Peach2007-10-101-0/+5
| | | | | | | | | | | | | | | | | | is produced when a process exits abnormally. First, we coalesce the core dumping code so that we greatly improve our odds of being able to produce a core file, even in the case of a memory fault. I've removed duplicates of dump_core() and split it in two to reduce the amount of work needed to actually do the dump. Second, we refactor the exit_server code path to always log an explanation and a stack trace. My goal is to always produce enough log information for us to be able to explain any server exit, though there is a risk that this could produce too much log information on a flaky network. Finally, smbcontrol has gained a smbd fault injection operation to test the changes above. This is only enabled for developer builds. (This used to be commit 56bc02d64498eb3faf89f0c5452b9299daea8e95)
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-2/+2
| | | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
* r13072: Fix segfault in vfstest and smbtorture.Deryck Hodge2007-10-101-0/+1
| | | | | deryck (This used to be commit 0fdb062f35b4c4b19bf4122d48a0b4edacfe74ca)
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-1/+1
| | | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
* r6640: Attempt to fix 'make everything' with the paranoid malloc checker.Volker Lendecke2007-10-101-7/+7
| | | | | Volker (This used to be commit 3db2799822da3711b47b60ba13daa07205ced45f)
* r4645: patch from Rob to fix the build breakage in vfstest after the ↵Gerald Carter2007-10-101-2/+5
| | | | | | reload_printers() cleanup (This used to be commit 054b64fb86328556288d097e1201a24d53d0bec9)
* r1154: Change default setting for case sensitivity to "auto". If set to autoJeremy Allison2007-10-101-1/+1
| | | | | | | | | | | | | then is the client supports it (current clients supported are Samba and CIFSVFS - detected by the negprot strings "Samba", "POSIX 2" and a bare "NT LM 0.12" string) then the setting of the per packet flag smb_flag FLAG_CASELESS_PATHNAMES is taken into account per packet. This allows the linux CIFS client to use Samba in a case sensitive manner. Additional command in smbclient "case_sensitive", toggles the flag in subsequent packets. Docs to follow. Jeremy. (This used to be commit cf84c0fe1a061acc0313f7db124b8f947cdf623d)
* Fix compiler warnings for vfstest. Patch from Stefan Metzmacher ↵Alexander Bokovoy2003-06-041-2/+3
| | | | | | <mezte@metzemix.de> (This used to be commit db255608f15c447596c336dbdafb56fb9308e9c5)
* Fix VFS layer:Alexander Bokovoy2003-05-111-7/+8
| | | | | | | | | | 1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow (This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-6/+0
| | | | (This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-0/+6
| | | | | | that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
* Fix popt usage (backport from HEAD)Jelmer Vernooij2003-04-141-35/+9
| | | | (This used to be commit 89a25ef20d10e20e70b11bba56add4708f62051f)
* Merge: const fixes.Tim Potter2003-02-251-1/+2
| | | | | Merge: add popt_common_version to command line options table. (This used to be commit 5f8a008a52b115ed423464faa264f1b7ab86a1e2)
* correct init, tx StefanSimo Sorce2003-02-191-1/+2
| | | | (This used to be commit a2e1969ce54e9ad412fc25ed5d749c38167ad8b0)
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-2/+2
| | | | | | | warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
* Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-201-1/+1
| | | | | | named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
* initial mem_ctx to NULLAndrew Tridgell2002-09-051-1/+1
| | | | | patch from metze (This used to be commit a4351a3923fd87e1c54119d997b673fcac34601b)