[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha8-68-g9c48f5b
Jeremy Allison
jra at samba.org
Thu Jun 25 19:58:47 GMT 2009
The branch, master has been updated
via 9c48f5bf2dcc12e6eb6170ab3a2af5ca119cf008 (commit)
from 4250eab4b58e6194a015bb5d464d60c69de463fc (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 9c48f5bf2dcc12e6eb6170ab3a2af5ca119cf008
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 25 12:57:15 2009 -0700
Fix bug #6506 - SMBD server doesn't set EAs when a file is overwritten in NT_TRANSACT_CREATE.
Reported and verified by Long Li <longli at microsoft.com>
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/open.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 5b62ff0..eb70344 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -3243,7 +3243,8 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
}
}
- if ((ea_list != NULL) && (info == FILE_WAS_CREATED)) {
+ if ((ea_list != NULL) &&
+ ((info == FILE_WAS_CREATED) || (info == FILE_WAS_OVERWRITTEN))) {
status = set_ea(conn, fsp, fname, ea_list);
if (!NT_STATUS_IS_OK(status)) {
goto fail;
--
Samba Shared Repository
More information about the samba-cvs
mailing list