|
|
The branch, v3-3-test has been updated
via 1706a33e78347d14a8b09fd21b87d57bad543bcd (commit)
from c70e2b6476d2d99c79624e15a4a3cfcdc850fc7c (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 1706a33e78347d14a8b09fd21b87d57bad543bcd
Author: Jeremy Allison <jra@xxxxxxxxx>
Date: Fri Jul 25 13:16:18 2008 -0700
Fix bug creating files using DOS clients with mixed
case files. Reported by Daniel Johnson <Progman2000@xxxxxxx>.
The smb_set_file_time() call to set the filetimes is failing
because it's using the unmodified name passed in by the
client, not the modified name (matching case on the
disk) that comes out from create_file().
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/smbd/reply.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index ee646aa..ddc5dd0 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -2030,7 +2030,7 @@ void reply_mknew(struct smb_request *req)
}
ts[0] = get_atimespec(&sbuf); /* atime. */
- status = smb_set_file_time(conn, fsp, fname, &sbuf, ts, true);
+ status = smb_set_file_time(conn, fsp, fsp->fsp_name, &sbuf, ts, true);
if (!NT_STATUS_IS_OK(status)) {
END_PROFILE(SMBcreate);
reply_openerror(req, status);
--
Samba Shared Repository
|
|