Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-01-27 | s3:smbd: make mdns registration event driven. | Stefan Metzmacher | 4 | -147/+111 | |
metze | |||||
2009-01-27 | s3:smbd: make inetd code path more clear | Stefan Metzmacher | 1 | -24/+20 | |
metze | |||||
2009-01-27 | s3:smbd: make kernel oplocks event driven | Stefan Metzmacher | 8 | -206/+34 | |
And use signal events for Linux oplocks. metze | |||||
2009-01-27 | s3:smbd: remove pointless respond_to_all_remaining_local_messages() function | Stefan Metzmacher | 3 | -28/+0 | |
This the process_kernel_oplock() function never response to messages, it only generates messages to ourself. metze | |||||
2009-01-27 | s3:smbd: convert aio to use tevent_signal | Stefan Metzmacher | 5 | -123/+54 | |
metze | |||||
2009-01-27 | s3:nmbd: handle SIG_TERM and SIGHUP via tevent | Stefan Metzmacher | 1 | -48/+67 | |
metze | |||||
2009-01-27 | s3:nmbd: as the sig_term() handler only sets a flag we don't need to block ↵ | Stefan Metzmacher | 3 | -23/+0 | |
SIGTERM The arguments of commit d98bea900ee694cdba83149620c65bd7f8765f26 are no longer valid. metze | |||||
2009-01-27 | s3:nmbd: install the SIG_DFL handler for SIGTERM while we're waiting for ↵ | Stefan Metzmacher | 1 | -12/+4 | |
interfaces We should handle all 3 cases where we actively wait for interfaces in the same way. metze | |||||
2009-01-27 | s3:winbindd: handle SIG_TERM, SIGHUP, SIGCHLD and SIGUSR2 via tevent | Stefan Metzmacher | 3 | -77/+165 | |
metze | |||||
2009-01-27 | s3:smbd: use signal events for SIGTERM, SIGHUP and SIGCHLD | Stefan Metzmacher | 6 | -111/+107 | |
metze | |||||
2009-01-27 | s3:smbd: move all code that handles a client connection into smbd_process() | Stefan Metzmacher | 2 | -218/+218 | |
metze | |||||
2009-01-27 | s3:smbd: we should setup the client socket in the same way in all code pathes | Stefan Metzmacher | 1 | -21/+15 | |
We should behave the same in inetd, interactive and deamon modes. metze | |||||
2009-01-27 | s3:namecache: remove unused namecache_shutdown() function | Stefan Metzmacher | 3 | -24/+0 | |
metze | |||||
2009-01-27 | async_req: Fix the S4 build | Kai Blin | 2 | -2/+2 | |
2009-01-27 | s3 build: Eliminate the gmake-specific Makefile syntax | Tim Prouty | 3 | -15/+7 | |
2009-01-26 | s3 make test: Fix a bug in the previous commit | Tim Prouty | 1 | -7/+8 | |
Luckily the build farm caught this | |||||
2009-01-26 | s3 make test: Add the ability to specify a custom smb.conf for make test | Tim Prouty | 3 | -13/+79 | |
- Adds new -c <custom conf> option to selftest.sh that when specified adds a line to make test's server.conf: "include <custom conf>" - Adds getopts processing to selftest.sh - Changes selftest.sh shrdir arg to use -s <shrdir> - Changes selftest.sh smbtorture4_path arg to use -t <smbtortur4 path> - Adds configure option --with-selftest-custom-conf=<custom conf> - Updates Makefile.in to take advantage of the new/changed parameters | |||||
2009-01-26 | Decouple clistr_pull from struct cli_state->inbuf | Volker Lendecke | 9 | -40/+57 | |
2009-01-25 | Fix an error path memleak | Volker Lendecke | 1 | -0/+1 | |
2009-01-25 | Make smb_bytes_push_str deal with a NULL buf returning NULL | Volker Lendecke | 1 | -1/+6 | |
2009-01-25 | Fix chain_reply for pipe reads | Volker Lendecke | 1 | -1/+11 | |
The caller might have over-allocated reply->outbuf. Deal with that. Sorry, Günther, for giving you so much pain ... Volker | |||||
2009-01-24 | Fix a segfault in parse_logentry | Volker Lendecke | 1 | -1/+1 | |
entry->data_record.strings is type smb_ucs2, so the pointer arithmetic increments by two :-) | |||||
2009-01-23 | Modify OneFS module to support new NTIMES interfaces | todd stecher | 3 | -42/+124 | |
2009-01-23 | Extend NTIMES to allow setting create_time | todd stecher | 14 | -96/+141 | |
1) Add in smb_file_time struct to clarify code and make room for createtime. 2) Get and set create time from SMB messages. 3) Fixup existing VFS modules + examples Some OS'es allow for the setting of the birthtime through kernel interfaces. This value is generically used for Windows createtime, but is not settable in the code today. | |||||
2009-01-23 | This change allows for the autoconfigre detection of sub-second time ↵ | todd stecher | 2 | -1/+51 | |
resolution in the FreeBSD stat structure | |||||
2009-01-24 | s3-rpcclient: add eventlog_loginfo command. | Günther Deschner | 1 | -0/+56 | |
Guenther | |||||
2009-01-24 | s3-rpcclient: add eventlog_backuplog command. | Günther Deschner | 1 | -0/+39 | |
Guenther | |||||
2009-01-24 | s3-rpcclient: add eventlog_registerevsource command. | Günther Deschner | 1 | -0/+39 | |
Guenther | |||||
2009-01-24 | s3-rpcclient: add eventlog_reporteventsource command. | Günther Deschner | 1 | -0/+65 | |
Guenther | |||||
2009-01-24 | s3-rpcclient: add eventlog_reportevent command. | Günther Deschner | 1 | -0/+65 | |
Guenther | |||||
2009-01-24 | s3-eventlog: add missing _eventlog_ReportEventAndSourceW stub call. | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2009-01-24 | Revert "s3-eventlog: trying to avoid to pass around full ndr structures in ↵ | Günther Deschner | 1 | -11/+6 | |
rpc_server." This reverts commit c0f1309010b79be67557af5ffbd1c429a3f3d99a. | |||||
2009-01-24 | s3-eventlog: fix various invalid memcpy in read_package_entry(). | Günther Deschner | 1 | -5/+5 | |
Guenther | |||||
2009-01-24 | s3-eventlog: fix buffer allocation in eventlog read call. | Günther Deschner | 1 | -3/+1 | |
This broke with f6fa3080fee1b20df9f1968500840a88cf0ee592 back in April 2007... Guenther | |||||
2009-01-23 | talloc: Change the two other definitions of TALLOC_FREE to match the primary ↵ | Tim Prouty | 1 | -1/+1 | |
version Eventually these two other definitions should be removed and all of the TALLOC macros should live in the same header. Until then, this patch eliminates some build warnings. | |||||
2009-01-23 | s3 ldb: Fix vasprintf segfault that has been the source of build machine ↵ | Tim Prouty | 1 | -5/+8 | |
failures this week The bug was introduced when converting samba3's ldb_search interface to match samba4: 47951fc5d0085e124666b7667715bba98076820e f3ecb701335b1129947127d4c45eef970b66875c | |||||
2009-01-24 | talloc_free() copes with a NULL pointer just fine | Volker Lendecke | 1 | -1/+1 | |
Saved around 10kb of code on my box :-) | |||||
2009-01-23 | s3: OneFS unmappable sids support. | Dan Sledz | 3 | -67/+183 | |
Updates the onefs vfs module to add configurable behavior to deal with sids that are unknown to us. The best examples are aces that come from robocopy/xcopy. Adds the following share level options (which are specific to the vfs_onefs module): onefs: ignore unmappable sids (Default = false) If this option is set to true, sids which could not be resolved to a uid/gid are ignored. If an unmappable sid is encountered as the owner or group, the owner/group is converted to BUILTIN\Administrators. onefs: unmappable sids ignore list (Default = empty) Only the sids in the list are ignored. onefs: ignore sacls (Default = false) SACLs are ignored onefs: unmappable sids deny everyone (Default = false) If an unmappable sid is found in a deny ACE, the ACE's identity is changed to Everyone. | |||||
2009-01-23 | async_req: Move to top level dir | Kai Blin | 4 | -501/+2 | |
2009-01-22 | Apply same logic fix for #4308 Excel save operation corrupts file ACLs | Jeremy Allison | 1 | -47/+37 | |
to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c. Jeremy. | |||||
2009-01-22 | Fix logic error in try_chown - we shouldn't arbitrarily chown | Jeremy Allison | 2 | -8/+9 | |
to ourselves unless that was passed in. Jeremy. | |||||
2009-01-22 | Second part of the attemt to fix #4308 - Excel save operation corrupts file ↵ | Jeremy Allison | 1 | -131/+144 | |
ACLs. If the chown succeeds then the ACL set should also. Ensure this is the case (refactor some of this code to make it simpler to read also). Jeremy. | |||||
2009-01-22 | Abstract away the transport in cli_pipe.c | Volker Lendecke | 2 | -316/+174 | |
Sorry for the monster checkin, I could not really find a way to do this in steps. | |||||
2009-01-22 | Add the socket rpc client transport | Volker Lendecke | 3 | -1/+123 | |
2009-01-22 | Add the named pipe rpc client transport | Volker Lendecke | 3 | -2/+336 | |
2009-01-22 | RPC_CLIENT_OBJ is the right variable for cli_pipe.o | Volker Lendecke | 1 | -2/+2 | |
2009-01-22 | Add struct rpc_cli_transport | Volker Lendecke | 1 | -0/+50 | |
2009-01-22 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 25 | -332/+351 | |
2009-01-22 | s3: Fix warning | Tim Prouty | 1 | -1/+1 | |
2009-01-22 | Another attempt to fix bug #4308 - Excel save operation corrupts file ACLs. | Jeremy Allison | 1 | -25/+4 | |
Simo is completely correct. We should be doing the chown *first*, and fail the ACL set if this fails. The long standing assumption I made when writing the initial POSIX ACL code was that Windows didn't control who could chown a file in the same was as POSIX. In POSIX only root can do this whereas I wasn't sure who could do this in Windows at the time (I didn't understand the privilege model). So the assumption was that setting the ACL was more important (early tests showed many failed ACL set's due to inability to chown). But now we have privileges in smbd, and we must always fail an ACL set when we can't chown first. The key that Simo noticed is that the CREATOR_OWNER bits in the ACL incoming are relative to the *new* owner, not the old one. This is why the old user owner disappears on ACL set - their access was set via the USER_OBJ in the creator POSIX ACL and when the ownership changes they lose their access. Patch is simple - just ensure we do the chown first before evaluating the incoming ACL re-read the owners. We already have code to do this it just wasn't rigorously being applied. Jeremy. |