Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2009-01-22 | Fix a segfault: rpccli_* expect the reply_pdu to always be initialized | Volker Lendecke | 1 | -0/+5 | |
2009-01-22 | s3:printing: make some functions static and use tevent functions | Stefan Metzmacher | 2 | -10/+12 | |
metze | |||||
2009-01-22 | s3:messages: finally make message_dispatch() static | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2009-01-22 | s3:printing: handle tevent_context events in the sys_select() call | Stefan Metzmacher | 1 | -16/+42 | |
metze | |||||
2009-01-22 | s3:winbindd: we don't need to call message_dispatch() anymore it's event ↵ | Stefan Metzmacher | 2 | -10/+0 | |
triggered now metze | |||||
2009-01-22 | s3:nmbd: we don't need to call message_dispatch() anymore it's event ↵ | Stefan Metzmacher | 1 | -4/+0 | |
triggered now metze | |||||
2009-01-22 | s3:smbd: we don't need to call message_dispatch() anymore it's event ↵ | Stefan Metzmacher | 2 | -26/+2 | |
triggered now metze | |||||
2009-01-22 | s3:msgtest: don't call message_dispatch() anymore, use tevent_loop_once() ↵ | Stefan Metzmacher | 1 | -8/+19 | |
instead metze | |||||
2009-01-22 | s3:smbcontrol: don't call message_dispatch() anymore, it's triggered by ↵ | Stefan Metzmacher | 1 | -13/+16 | |
tevent_loop_once() metze | |||||
2009-01-22 | s3:messaging: start with to use signal events instead of the raw signal ↵ | Stefan Metzmacher | 1 | -37/+65 | |
interfaces metze | |||||
2009-01-22 | s3:smbd: restructure kernel oplocks code | Stefan Metzmacher | 8 | -146/+134 | |
This converts the irix oplocks code to use a fd event and removes the last special case for file descriptors for the main sys_select(). metze | |||||
2009-01-22 | s3: always call run_events() before and after sys_select() | Stefan Metzmacher | 5 | -28/+45 | |
And always setup the fd events. metze | |||||
2009-01-22 | s3:events: always run_events() before sys_select() | Stefan Metzmacher | 1 | -5/+4 | |
We might have pending signal events not only timed events. metze | |||||
2009-01-22 | Actually complete 3662c2b... | Volker Lendecke | 3 | -6/+5 | |
2009-01-22 | cli_get_pipe_name_from_iface does not need the cli_state | Volker Lendecke | 2 | -4/+2 | |
I leave the TALLOC_CTX in, we might have to allocate it in the future | |||||
2009-01-22 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 2 | -4/+2 | |
2009-01-22 | Move configure test files to the top-level and share them between s3 and | Jelmer Vernooij | 10 | -1225/+11 | |
s4. | |||||
2009-01-22 | s3: run "make samba3-idl" | Michael Adam | 1 | -0/+2 | |
Michael | |||||
2009-01-21 | Memory leaks and other fixes found by Coverity | todd stecher | 18 | -60/+131 | |
2009-01-21 | Fix path to check_python.m4. | Jelmer Vernooij | 1 | -1/+1 | |
2009-01-21 | libsmbconf: move the non-registry parts of libsmbconf to top level | Michael Adam | 7 | -1430/+3 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: include smbconf headers with lib/smbconf prefix | Michael Adam | 2 | -4/+4 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in reg backend | Michael Adam | 1 | -20/+20 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in txt backend | Michael Adam | 1 | -5/+6 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_init | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in testsuite | Michael Adam | 1 | -5/+5 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_util.c | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf.c | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: remove the init headers from smbconf.h | Michael Adam | 6 | -19/+103 | |
give the smbconf_init() dispatcher and the backends (smbconf_reg and smbconf_txt) a header of their own each. This allows to use the basic infrastructure and single backends individually. Michael | |||||
2009-01-21 | s3:libsmbconf: remove unused function smbconf_is_writeable_bystring() | Michael Adam | 2 | -27/+0 | |
Michael | |||||
2009-01-21 | s3/vfs_extd_audit: Don't ignore "syslog = 0". | Karolin Seeger | 1 | -59/+86 | |
This fixes bug #5956. Thanks to Oskar Wycislak <cantorek [at] gmail.com> for reporting and providing a patch! Karolin | |||||
2009-01-21 | Fix warning; base dn is no longer const. | Jelmer Vernooij | 1 | -2/+2 | |
2009-01-21 | Move check_python.m4 to common m4 directory. | Jelmer Vernooij | 1 | -1/+1 | |
2009-01-21 | expand-includes: Add simple protection against infinite recursion. | Jelmer Vernooij | 1 | -0/+5 | |