[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3415-g1706a33

Jeremy Allison jra at samba.org
Fri Jul 25 20:16:51 GMT 2008


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 at samba.org>
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 at usa.net>.
    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


More information about the samba-cvs mailing list