Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-01-16 | remove the old chain_reply code | Volker Lendecke | 1 | -214/+4 | |
2009-01-16 | Correctly calculate the offset for read&x | Volker Lendecke | 3 | -8/+36 | |
2009-01-16 | Add a new implementation of chain_reply | Volker Lendecke | 2 | -6/+217 | |
This the global variable "orig_inbuf" in the old chain_reply code. This global variable was one of the reasons why we had the silly restriction to not allow async requests within a request chain. | |||||
2009-01-16 | s3:put the browse list into cache_dir, not lock_dir. | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-01-15 | s3: make better use of ccache by not including version.h in every C-file. | Michael Adam | 3 | -2/+3 | |
version.h changes rather frequently. Since it is included via includes.h, this means each C file will be a cache miss. This applies to the following situations: * When building a new package with a new Samba version * building in a git branch after calling mkversion.sh after a new commit (i.e. virtually always) This patch improves the situation in the following way: * remove inlude "version.h" from includes.h * Use samba_version_string() instead of SAMBA_VERSION_STRING in files that use no other macro from version.h instead of SAMBA_VERSION_STRING. * explicitly include "version.h" in those files that use more macros from "version.h" than just SAMBA_VERSION_STRING. Michael | |||||
2009-01-13 | Only call sendfile_short_read() if we need it. | Jeremy Allison | 1 | -2/+6 | |
Jeremy. | |||||
2009-01-13 | Fix bug noticed by Volker - if sendfile returns zero then | Jeremy Allison | 1 | -2/+66 | |
we might have to handle a short send by filling with zeros. Jeremy. | |||||
2009-01-13 | Fix bug #6019 File corruption in Clustered SMB/NFS environment managed via CTDB | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2009-01-11 | s3: Differentiate between posix files with colons and actual streams | Tim Prouty | 1 | -2/+34 | |
It is possible for a posix file created locally or over nfs to have a ":" in the name. Since ":" is a reserved character in windows, filenames containing a colon must be mangled in a directory listing. Right now files containing colons will not even be displayed in directory listings if streams modules are in use. During the directory listing the file will be detected as a stream because of the colon, but the streams module will fail to find the stream since it doesn't exist. This fix adds a step to is_ntfs_stream_name that stats the filename to differentiate between actual streams and files containing colons. While this is an improvement, it isn't perfect. Consider the case where there is a file on disk called "a.txt:s1" and also a file called "a.txt" that has a stream called "s1". This patch will always preference "a.txt:s1" over a.txt's s1 stream. The real issue is that at the vfs level, the vfs modules have no way to tell between a demangled name with a colon and an actual stream. A more invasive, but better, long-term fix would be to add all paths that come over the wire into a struct containing metadata about the path. This metadata could include a flag to indicate whether the path came over the wire with a colon ":" (guaranteeing that the client is requesting a stream). Passing this struct down to the lower levels, including all path-based vfs calls, would allow the above case to be handled correctly in all cases. | |||||
2009-01-10 | Fix a type-punned error | Volker Lendecke | 1 | -1/+1 | |
2009-01-10 | Fix a C++ warning | Volker Lendecke | 1 | -2/+2 | |
2009-01-09 | s3: Fix open path to delete streams depending on the create disposition | Tim Prouty | 1 | -0/+14 | |
The new create disposition test in smbtorture RAW-STREAMS verifies this fix. | |||||
2009-01-09 | s3: Add delete_all_streams to proto.h | Tim Prouty | 1 | -1/+1 | |
2009-01-09 | s3:smbd: handle incoming smb requests via event handlers | Stefan Metzmacher | 3 | -108/+163 | |
We use a fd event and receive incoming smb requests when the fd becomes readable. It's not completely nonblocking yet, but it should behave like the old code. We use timed events to trigger retries for deferred open calls. metze | |||||
2009-01-08 | s3:smbd: fix the build with dmapi support | Stefan Metzmacher | 1 | -2/+0 | |
struct smbd_dmapi_context *dmapi_ctx; is in globals.c metze | |||||
2009-01-08 | Attempt to fix the build | Volker Lendecke | 1 | -1/+1 | |
2009-01-08 | s3:smbd: move all globals and static variables in globals.[ch] | Stefan Metzmacher | 38 | -305/+553 | |
The goal is to move all this variables into a big context structure. metze | |||||
2009-01-08 | s3:smbd: variables in a main() don't need to be static | Stefan Metzmacher | 1 | -7/+7 | |
metze | |||||
2009-01-08 | s3:smbd: open_sockets_smbd() don't need a static variable arrount atexit() | Stefan Metzmacher | 1 | -7/+1 | |
open_sockets_smbd() is only called once. metze | |||||
2009-01-08 | s3:smbd: keep dmapi globals in one context struct | Stefan Metzmacher | 1 | -28/+44 | |
metze | |||||
2009-01-08 | s3:smbd: remove stupid static variables for the nfs quota code | Stefan Metzmacher | 1 | -16/+20 | |
metze | |||||
2009-01-08 | s3:smbd: remove pointless static variable in uid.c | Stefan Metzmacher | 1 | -7/+4 | |
We always free the value at the end of the function, so we don't need a static variable to hold just NULL for the time the function isn't executed. metze | |||||
2009-01-08 | s3:smbd: make static const in mangle_hash2.c really static const | Stefan Metzmacher | 1 | -1/+1 | |
const char *foo, means a non-const pointer to a const char. const char * const foo, means a const pointer to a const char. char * const foo, would mean a const pointer to a non-const char. metze | |||||
2009-01-08 | s3:smbd: make const globals in mangle_hash2.c really static const | Stefan Metzmacher | 1 | -2/+2 | |
const char *foo, means a non-const pointer to a const char. const char * const foo, means a const pointer to a const char. char * const foo, would mean a const pointer to a non-const char. metze | |||||
2009-01-08 | s3:smbd: make globals in utmp.c static const | Stefan Metzmacher | 1 | -4/+4 | |
const char *foo, means a non-const pointer to a const char. const char * const foo, means a const pointer to a const char. char * const foo, would mean a const pointer to a non-const char. metze | |||||
2009-01-08 | s3:smbd: it's pointless to have a global magic_char | Stefan Metzmacher | 1 | -4/+7 | |
We call magic_char = lp_magicchar(p) each time it's used. metze | |||||
2009-01-08 | s3:smbd: remove pointless static variables in chgpasswd.c | Stefan Metzmacher | 1 | -9/+10 | |
metze | |||||
2009-01-08 | s3:smbd: make fake_files[] static const | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-01-08 | s3:smbd: make mangle_fns const | Stefan Metzmacher | 3 | -10/+10 | |
metze | |||||
2009-01-07 | Fix bug #6016 - Alternate Data Streams / Extended Attributes seem to conflict. | Jeremy Allison | 1 | -3/+8 | |
Jeremy. | |||||
2009-01-06 | Fix bug #6017, - magic script does not work. based on a patch from ↵ | Jeremy Allison | 1 | -3/+13 | |
monyo@samba.gr.jp. Jeremy. | |||||
2009-01-05 | Fix call to ndr_size_dom_sid, missing parameter. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-01-05 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 6 | -19/+26 | |
2009-01-05 | Attempt to fix the build with dnssd | Volker Lendecke | 1 | -1/+0 | |
2009-01-05 | s3:events: change event_add_timed() prototype to match samba4 | Stefan Metzmacher | 4 | -16/+21 | |
metze | |||||
2009-01-05 | clean event context after child is forked. | Bo Yang | 1 | -2/+5 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-01-05 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 3 | -17/+26 | |
2009-01-05 | smbd: prevent access to root filesystem when connecting with empty service name | Michael Adam | 1 | -0/+4 | |
This only applies to a setup with "registry shares = yes" Michael (cherry picked from commit 288fa94ac7cfdf7457b5098c33fc840bed3d5410) (cherry picked from commit e85526b184e66f86b7faa9d0a37288a09c12c19e) | |||||
2009-01-04 | s3: Allow renames of streams via NTRENAME and fix stream error codes on rename | Tim Prouty | 2 | -17/+22 | |
The test_streams_rename2 test in RAW-STREAMS verifies these changes | |||||
2009-01-04 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 1 | -1/+1 | |
2009-01-04 | Fix bug #6009 - Setting "min receivefile size = 1" breaks writes. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-01-01 | Add iconv_convenience argument to size functions. | Jelmer Vernooij | 2 | -1/+3 | |
2008-12-31 | Replace "goto again" by "return NT_STATUS_RETRY" in receive_message_or_smb | Volker Lendecke | 1 | -11/+13 | |
This gives lower-level routines the chance to indicate a retry condition | |||||
2008-12-31 | Fix a "nested extern" warning | Volker Lendecke | 1 | -1/+1 | |
2008-12-31 | Rename parent_dirname_talloc() to parent_dirname() | Volker Lendecke | 6 | -17/+8 | |
2008-12-31 | Use parent_dirname_talloc instead of parent_dirname in smb_unix_mknod | Volker Lendecke | 1 | -3/+7 | |
2008-12-31 | Use parent_dirname_talloc instead of parent_dirname in copy_internals | Volker Lendecke | 1 | -2/+6 | |
2008-12-31 | recvfile can't be used for printing so far | Volker Lendecke | 1 | -0/+4 | |
2008-12-31 | Fix an ancient uninitialized variable read | Volker Lendecke | 2 | -2/+3 | |
The callers of open_file_ntcreate expect *psbuf to be filled correctly | |||||
2008-12-30 | s3 build: Fix warning | Tim Prouty | 1 | -0/+2 | |