summaryrefslogtreecommitdiff
path: root/source3/torture/vfstest.c
AgeCommit message (Collapse)AuthorFilesLines
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-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-0/+1
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>
2010-02-23s3: Consolidate server_id_self into the equivalent procid_self()Volker Lendecke1-1/+1
2009-06-05source3/torture/vfstest.c(process_file): fixed file descriptor leak.Slava Semushin1-0/+4
Found by cppcheck: [./source3/torture/vfstest.c:400]: (error) Resource leak: file
2009-06-03s3:smbd: move tcon specific globals to struct smbd_server_connectionStefan Metzmacher1-3/+3
metze
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-1/+1
2008-05-10Remove "user" from connection_structVolker Lendecke1-1/+0
(This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
2007-12-18Add a in-memory cacheVolker Lendecke1-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)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-3/+3
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison1-3/+6
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-04The usual !pstring...Jeremy Allison1-44/+36
Jeremy. (This used to be commit b676262a781363e7be49b21817668a53cca75c2d)
2007-11-09Remove the silly "user_socket_options" global variableVolker Lendecke1-3/+2
This is better done with a 'lp_do_parameter(-1, "socket options", ..); (This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
2007-11-03Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison1-0/+5
I have a plan for dealing with the remaining..... Watch this space. Jeremy. (This used to be commit 963fc7685212689f02b3adcc05b4273ee5c382d4)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-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)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r21090: Add some helper routinesVolker Lendecke1-0/+11
(This used to be commit 985dde8ed0a7e6da5adf9c55654a4fd362b22acb)
2007-10-10r20846: Before this gets out of control...Volker Lendecke1-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)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-1/+1
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r15034: Attempt to make the build farm happyVolker Lendecke1-1/+1
(This used to be commit 8b3e87184a3cc831fe0314c3b26b6d753cf74e4c)
2007-10-10r14898: This change is an attempt to improve the quality of the information thatJames Peach1-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)
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-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)
2007-10-10r13072: Fix segfault in vfstest and smbtorture.Deryck Hodge1-0/+1
deryck (This used to be commit 0fdb062f35b4c4b19bf4122d48a0b4edacfe74ca)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-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)
2007-10-10r6640: Attempt to fix 'make everything' with the paranoid malloc checker.Volker Lendecke1-7/+7
Volker (This used to be commit 3db2799822da3711b47b60ba13daa07205ced45f)
2007-10-10r4645: patch from Rob to fix the build breakage in vfstest after the ↵Gerald Carter1-2/+5
reload_printers() cleanup (This used to be commit 054b64fb86328556288d097e1201a24d53d0bec9)
2007-10-10r1154: Change default setting for case sensitivity to "auto". If set to autoJeremy Allison1-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)
2003-06-04Fix compiler warnings for vfstest. Patch from Stefan Metzmacher ↵Alexander Bokovoy1-2/+3
<mezte@metzemix.de> (This used to be commit db255608f15c447596c336dbdafb56fb9308e9c5)
2003-05-11Fix VFS layer:Alexander Bokovoy1-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)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-6/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-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)
2003-04-14Fix popt usage (backport from HEAD)Jelmer Vernooij1-35/+9
(This used to be commit 89a25ef20d10e20e70b11bba56add4708f62051f)
2003-02-25Merge: const fixes.Tim Potter1-1/+2
Merge: add popt_common_version to command line options table. (This used to be commit 5f8a008a52b115ed423464faa264f1b7ab86a1e2)
2003-02-19correct init, tx StefanSimo Sorce1-1/+2
(This used to be commit a2e1969ce54e9ad412fc25ed5d749c38167ad8b0)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-2/+2
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison1-1/+1
named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-09-05initial mem_ctx to NULLAndrew Tridgell1-1/+1
patch from metze (This used to be commit a4351a3923fd87e1c54119d997b673fcac34601b)
2002-08-29Correct popt argument info in vfstestJelmer Vernooij1-1/+1
Don't use global_ctx in samtest.c (This used to be commit 0428eb422b50135327daf3040067f5982f1b0b92)
2002-08-29Use popt for printing --help messageJelmer Vernooij1-24/+5
(This used to be commit 355d28d9eae2fd4b94bb591c5c51cad2fab9d2fd)
2002-08-29Don't use global memory contextJelmer Vernooij1-10/+7
(This used to be commit b1e1d548031f270dd51ffa1910c3ae2503e64e8f)
2002-08-24if muhammad does not go to the mountain ...Simo Sorce1-0/+2
(This used to be commit 5246d3693c463e581a7cd40f86878e40456237c3)
2002-08-21implemented lock and mknodSimo Sorce1-9/+89
addedd to vfstest the possibility to read a file to imput a stream of commands (This used to be commit 233b14f447994db8fdb4448d19eff0c38c17254d)
2002-08-20some fixesJelmer Vernooij1-24/+1
(This used to be commit e0c61b31050a3e3fdec2c47c80ef34de3ec73e04)
2002-08-20Remove unused variablesJelmer Vernooij1-16/+3
(This used to be commit 20f1765c32b2dd048e1572cd1b1e490459f7d5dc)
2002-08-19Add 'conf' command to load different smb.conf filesJelmer Vernooij1-4/+22
(This used to be commit 9b4deb1e0f36968bf9b83120b12e6692b20df9d4)
2002-08-18A new utility to test VFS system and modulesSimo Sorce1-0/+551
Just now it is acommandline tool like smbclient and rpcclient that is able to perform operations on the file system passing through the vfs layer It is not complete yet, some functions have simply faked up data, but module loading works yet and basic operations too. Thanks to Eric Lorimer for helping out with the initial setup. Simo. (This used to be commit 42ae5eb82657d4905bdaf247286f95599380afbb)