[SCM] Samba Shared Repository - branch v3-5-test updated

Jeremy Allison jra at samba.org
Tue Nov 24 17:42:26 MST 2009


The branch, v3-5-test has been updated
       via  bec9ed4... Remove call into reduce_name if case sensitive. This allows us to pass RAW-CHKPATH when case sensitive = yes, but isn't the correct way to do it. I'm testing a larger patch to smbd/filename.c that should fix this correctly, and will add a torture test to ensure RAW-CHKPATH is run against a case sensitive share once this is done. Jeremy. (cherry picked from commit 1ad23832cfafd46f83ac406006ff175900b81d00)
      from  ecae8be... Allow us to pass RAW-CHKPATH with FILE_FLAG_POSIX_SEMANTICS set or with wide links = no. Jeremy. (cherry picked from commit b2dd546f01425ff17008d3b0b0c36f754e6f3eec)

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


- Log -----------------------------------------------------------------
commit bec9ed47c8f543d44cdc0f4bb8302356ca5dc969
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Nov 24 16:40:08 2009 -0800

    Remove call into reduce_name if case sensitive. This allows us to pass
    RAW-CHKPATH when case sensitive = yes, but isn't the correct way to do
    it. I'm testing a larger patch to smbd/filename.c that should fix this
    correctly, and will add a torture test to ensure RAW-CHKPATH is run against
    a case sensitive share once this is done.
    Jeremy.
    (cherry picked from commit 1ad23832cfafd46f83ac406006ff175900b81d00)

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/filename.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 88ee42c..16e3631 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -791,8 +791,7 @@ NTSTATUS check_name(connection_struct *conn, const char *name)
 		}
 	}
 
-	if (!lp_widelinks(SNUM(conn)) || !lp_symlinks(SNUM(conn)) ||
-			conn->case_sensitive) {
+	if (!lp_widelinks(SNUM(conn)) || !lp_symlinks(SNUM(conn))) {
 		NTSTATUS status = check_reduced_name(conn,name);
 		if (!NT_STATUS_IS_OK(status)) {
 			DEBUG(5,("check_name: name %s failed with %s\n",name,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list