summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-23Extend NTIMES to allow setting create_timetodd stecher16-100/+145
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-23This change allows for the autoconfigre detection of sub-second time ↵todd stecher2-1/+51
resolution in the FreeBSD stat structure
2009-01-24s4-smbtorture: add my copyright.Günther Deschner1-0/+1
Guenther
2009-01-24s4-smbtorture: add BackupLog handling in eventlog test.Günther Deschner1-0/+69
Guenther
2009-01-24s3-rpcclient: add eventlog_loginfo command.Günther Deschner1-0/+56
Guenther
2009-01-24s3-rpcclient: add eventlog_backuplog command.Günther Deschner1-0/+39
Guenther
2009-01-24s3-rpcclient: add eventlog_registerevsource command.Günther Deschner1-0/+39
Guenther
2009-01-24s3-rpcclient: add eventlog_reporteventsource command.Günther Deschner1-0/+65
Guenther
2009-01-24s4-smbtorture: add test_GetLogIntormation test.Günther Deschner1-0/+48
Guenther
2009-01-24s3-rpcclient: add eventlog_reportevent command.Günther Deschner1-0/+65
Guenther
2009-01-24s4-smbtorture: add ReportEventW test.Günther Deschner1-0/+50
Guenther
2009-01-24s3-eventlog: add missing _eventlog_ReportEventAndSourceW stub call.Günther Deschner1-0/+5
Guenther
2009-01-24s3: re-run make samba3-idl.Günther Deschner7-14/+1352
Guenther
2009-01-24eventlog: fill in IDL for eventlog_OpenBackupEventLogW.Günther Deschner1-1/+7
Guenther
2009-01-24eventlog: fill in IDL for eventlog_BackupEventLogW.Günther Deschner1-2/+5
Guenther
2009-01-24eventlog: fill in IDL for eventlog_DeregisterEventSource.Günther Deschner1-1/+3
Guenther
2009-01-24eventlog: fill in IDL for eventlog_RegisterEventSourceW.Günther Deschner1-1/+8
Guenther
2009-01-24eventlog: add missing IDL (opnum 24) for eventlog_ReportEventAndSourceW.Günther Deschner1-1/+21
Guenther
2009-01-24eventlog: fill in IDL for eventlog_GetLogIntormation.Günther Deschner1-1/+12
Guenther
2009-01-24eventlog: fill in IDL for eventlog_ReportEventW.Günther Deschner1-1/+16
Guenther
2009-01-24Revert "s3-eventlog: trying to avoid to pass around full ndr structures in ↵Günther Deschner1-11/+6
rpc_server." This reverts commit c0f1309010b79be67557af5ffbd1c429a3f3d99a.
2009-01-24s3-eventlog: fix various invalid memcpy in read_package_entry().Günther Deschner1-5/+5
Guenther
2009-01-24s3-eventlog: fix buffer allocation in eventlog read call.Günther Deschner1-3/+1
This broke with f6fa3080fee1b20df9f1968500840a88cf0ee592 back in April 2007... Guenther
2009-01-23talloc: Change the two other definitions of TALLOC_FREE to match the primary ↵Tim Prouty2-2/+2
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-23s3 ldb: Fix vasprintf segfault that has been the source of build machine ↵Tim Prouty1-5/+8
failures this week The bug was introduced when converting samba3's ldb_search interface to match samba4: 47951fc5d0085e124666b7667715bba98076820e f3ecb701335b1129947127d4c45eef970b66875c
2009-01-24talloc_free() copes with a NULL pointer just fineVolker Lendecke1-1/+1
Saved around 10kb of code on my box :-)
2009-01-23s3: OneFS unmappable sids support.Dan Sledz3-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-23s4: add ../lib/async_req to the s4 buildKai Blin2-0/+4
2009-01-23async_req: Move to top level dirKai Blin4-1/+2
2009-01-23docs: Fix formatting issue in man libsmbclient.Karolin Seeger1-3/+4
Karolin
2009-01-23s4: we're on the way to alhpa7Stefan Metzmacher1-1/+1
metze
2009-01-22Apply same logic fix for #4308 Excel save operation corrupts file ACLsJeremy Allison1-47/+37
to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c. Jeremy.
2009-01-22Fix logic error in try_chown - we shouldn't arbitrarily chownJeremy Allison2-8/+9
to ourselves unless that was passed in. Jeremy.
2009-01-22Second part of the attemt to fix #4308 - Excel save operation corrupts file ↵Jeremy Allison1-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-22Abstract away the transport in cli_pipe.cVolker Lendecke2-316/+174
Sorry for the monster checkin, I could not really find a way to do this in steps.
2009-01-22Add the socket rpc client transportVolker Lendecke3-1/+123
2009-01-22Add the named pipe rpc client transportVolker Lendecke3-2/+336
2009-01-22RPC_CLIENT_OBJ is the right variable for cli_pipe.oVolker Lendecke1-2/+2
2009-01-22Add struct rpc_cli_transportVolker Lendecke1-0/+50
2009-01-22Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij27-342/+357
2009-01-22s3: Fix warningTim Prouty1-1/+1
2009-01-22Another attempt to fix bug #4308 - Excel save operation corrupts file ACLs.Jeremy Allison1-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-22Do not start a transaction this way.Simo Sorce1-10/+0
Because we still want to commit any changes that successfully apply we never want to do a global cancel, and because of how transaction nesting works that means we never cancel any "transaction" at the single modify operation level. Let each operation start its own transaction so that the transaction is properly canceled if any error is returned and half committed operations (though plugins failing) are properly reverted on a per operation basis.
2009-01-22Fix a segfault: rpccli_* expect the reply_pdu to always be initializedVolker Lendecke1-0/+5
2009-01-22Remove obsolete samr Python module - use samba.dcerpc.samr instead.Jelmer Vernooij1-759/+0
2009-01-22Implement as_sddl.Jelmer Vernooij2-1/+29
2009-01-22Support parsing sddl for security descriptors.Jelmer Vernooij2-2/+37
2009-01-22lib/replace: add defines to let the callers find out if pwrite and pread are ↵Stefan Metzmacher1-0/+6
thread/fork safe metze
2009-01-22s3:printing: make some functions static and use tevent functionsStefan Metzmacher2-10/+12
metze
2009-01-22s3:messages: finally make message_dispatch() staticStefan Metzmacher2-2/+2
metze