summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3 make test: Fix a bug in the previous commitTim Prouty2009-01-261-7/+8
| | | | Luckily the build farm caught this
* s3 make test: Add the ability to specify a custom smb.conf for make testTim Prouty2009-01-263-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
* Decouple clistr_pull from struct cli_state->inbufVolker Lendecke2009-01-269-40/+57
|
* Fix an error path memleakVolker Lendecke2009-01-251-0/+1
|
* Make smb_bytes_push_str deal with a NULL buf returning NULLVolker Lendecke2009-01-251-1/+6
|
* Fix chain_reply for pipe readsVolker Lendecke2009-01-251-1/+11
| | | | | | | | The caller might have over-allocated reply->outbuf. Deal with that. Sorry, Günther, for giving you so much pain ... Volker
* Fix a segfault in parse_logentryVolker Lendecke2009-01-241-1/+1
| | | | | entry->data_record.strings is type smb_ucs2, so the pointer arithmetic increments by two :-)
* Modify OneFS module to support new NTIMES interfacestodd stecher2009-01-233-42/+124
|
* Extend NTIMES to allow setting create_timetodd stecher2009-01-2314-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.
* This change allows for the autoconfigre detection of sub-second time ↵todd stecher2009-01-232-1/+51
| | | | resolution in the FreeBSD stat structure
* s3-rpcclient: add eventlog_loginfo command.Günther Deschner2009-01-241-0/+56
| | | | Guenther
* s3-rpcclient: add eventlog_backuplog command.Günther Deschner2009-01-241-0/+39
| | | | Guenther
* s3-rpcclient: add eventlog_registerevsource command.Günther Deschner2009-01-241-0/+39
| | | | Guenther
* s3-rpcclient: add eventlog_reporteventsource command.Günther Deschner2009-01-241-0/+65
| | | | Guenther
* s3-rpcclient: add eventlog_reportevent command.Günther Deschner2009-01-241-0/+65
| | | | Guenther
* s3-eventlog: add missing _eventlog_ReportEventAndSourceW stub call.Günther Deschner2009-01-241-0/+5
| | | | Guenther
* Revert "s3-eventlog: trying to avoid to pass around full ndr structures in ↵Günther Deschner2009-01-241-11/+6
| | | | | | rpc_server." This reverts commit c0f1309010b79be67557af5ffbd1c429a3f3d99a.
* s3-eventlog: fix various invalid memcpy in read_package_entry().Günther Deschner2009-01-241-5/+5
| | | | Guenther
* s3-eventlog: fix buffer allocation in eventlog read call.Günther Deschner2009-01-241-3/+1
| | | | | | This broke with f6fa3080fee1b20df9f1968500840a88cf0ee592 back in April 2007... Guenther
* talloc: Change the two other definitions of TALLOC_FREE to match the primary ↵Tim Prouty2009-01-231-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.
* s3 ldb: Fix vasprintf segfault that has been the source of build machine ↵Tim Prouty2009-01-231-5/+8
| | | | | | | | | failures this week The bug was introduced when converting samba3's ldb_search interface to match samba4: 47951fc5d0085e124666b7667715bba98076820e f3ecb701335b1129947127d4c45eef970b66875c
* talloc_free() copes with a NULL pointer just fineVolker Lendecke2009-01-241-1/+1
| | | | Saved around 10kb of code on my box :-)
* s3: OneFS unmappable sids support.Dan Sledz2009-01-233-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.
* async_req: Move to top level dirKai Blin2009-01-234-501/+2
|
* Apply same logic fix for #4308 Excel save operation corrupts file ACLsJeremy Allison2009-01-221-47/+37
| | | | | to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c. Jeremy.
* Fix logic error in try_chown - we shouldn't arbitrarily chownJeremy Allison2009-01-222-8/+9
| | | | | to ourselves unless that was passed in. Jeremy.
* Second part of the attemt to fix #4308 - Excel save operation corrupts file ↵Jeremy Allison2009-01-221-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.
* Abstract away the transport in cli_pipe.cVolker Lendecke2009-01-222-316/+174
| | | | | Sorry for the monster checkin, I could not really find a way to do this in steps.
* Add the socket rpc client transportVolker Lendecke2009-01-223-1/+123
|
* Add the named pipe rpc client transportVolker Lendecke2009-01-223-2/+336
|
* RPC_CLIENT_OBJ is the right variable for cli_pipe.oVolker Lendecke2009-01-221-2/+2
|
* Add struct rpc_cli_transportVolker Lendecke2009-01-221-0/+50
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-01-2225-332/+351
|\
| * s3: Fix warningTim Prouty2009-01-221-1/+1
| |
| * Another attempt to fix bug #4308 - Excel save operation corrupts file ACLs.Jeremy Allison2009-01-221-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.
| * Fix a segfault: rpccli_* expect the reply_pdu to always be initializedVolker Lendecke2009-01-221-0/+5
| |
| * s3:printing: make some functions static and use tevent functionsStefan Metzmacher2009-01-222-10/+12
| | | | | | | | metze
| * s3:messages: finally make message_dispatch() staticStefan Metzmacher2009-01-222-2/+2
| | | | | | | | metze
| * s3:printing: handle tevent_context events in the sys_select() callStefan Metzmacher2009-01-221-16/+42
| | | | | | | | metze
| * s3:winbindd: we don't need to call message_dispatch() anymore it's event ↵Stefan Metzmacher2009-01-222-10/+0
| | | | | | | | | | | | triggered now metze
| * s3:nmbd: we don't need to call message_dispatch() anymore it's event ↵Stefan Metzmacher2009-01-221-4/+0
| | | | | | | | | | | | triggered now metze
| * s3:smbd: we don't need to call message_dispatch() anymore it's event ↵Stefan Metzmacher2009-01-222-26/+2
| | | | | | | | | | | | triggered now metze
| * s3:msgtest: don't call message_dispatch() anymore, use tevent_loop_once() ↵Stefan Metzmacher2009-01-221-8/+19
| | | | | | | | | | | | instead metze
| * s3:smbcontrol: don't call message_dispatch() anymore, it's triggered by ↵Stefan Metzmacher2009-01-221-13/+16
| | | | | | | | | | | | tevent_loop_once() metze
| * s3:messaging: start with to use signal events instead of the raw signal ↵Stefan Metzmacher2009-01-221-37/+65
| | | | | | | | | | | | interfaces metze
| * s3:smbd: restructure kernel oplocks codeStefan Metzmacher2009-01-228-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
| * s3: always call run_events() before and after sys_select()Stefan Metzmacher2009-01-225-28/+45
| | | | | | | | | | | | And always setup the fd events. metze
| * s3:events: always run_events() before sys_select()Stefan Metzmacher2009-01-221-5/+4
| | | | | | | | | | | | We might have pending signal events not only timed events. metze
| * Actually complete 3662c2b...Volker Lendecke2009-01-223-6/+5
| |
* | Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-01-222-4/+2
|\|