|
|
The branch, v3-2-test has been updated
via d54fe83b16c187847a975df373e73d56111d7f21 (commit)
from a1d0fb1f00432f3bc4d7175dbff1354724ea2b67 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit d54fe83b16c187847a975df373e73d56111d7f21
Author: Jeremy Allison <jra@xxxxxxxxx>
Date: Fri Jul 25 13:14:57 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 2506ff9..ac9ccd6 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -2000,7 +2000,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
|
|