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

Jeremy Allison jra at samba.org
Tue Mar 11 20:39:01 GMT 2008


The branch, v3-2-test has been updated
       via  632f3fe66fbcbe3cc25d070c3885177264f5ad65 (commit)
      from  9065792d4bc42522f12f9732de3c0ad82c72a2d3 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 632f3fe66fbcbe3cc25d070c3885177264f5ad65
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Mar 11 13:38:25 2008 -0700

    Allow us to pass RAW-RENAME by testing that the connection struct
    connection paths are equal, not just the conn structs themselves.
    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 d3b5dfa..91d5f25 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -5295,7 +5295,7 @@ static void rename_open_files(connection_struct *conn,
 		   sharepaths we need to manipulate relative paths. */
 		/* TODO - create the absolute path and manipulate the newname
 		   relative to the sharepath. */
-		if (fsp->conn != conn) {
+		if (!strequal(fsp->conn->connectpath, conn->connectpath)) {
 			continue;
 		}
 		DEBUG(10,("rename_open_files: renaming file fnum %d (file_id %s) from %s -> %s\n",


-- 
Samba Shared Repository


More information about the samba-cvs mailing list