diff options
author | Jeremy Allison <jra@samba.org> | 2009-11-24 16:40:08 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-11-24 16:40:08 -0800 |
commit | 1ad23832cfafd46f83ac406006ff175900b81d00 (patch) | |
tree | 339b50957930f7fbbc9a0a4072dc5e30bf6d3338 /source3 | |
parent | a6e8e87c5532687c858d12c2628ecee70729bc71 (diff) | |
download | samba-1ad23832cfafd46f83ac406006ff175900b81d00.tar.gz samba-1ad23832cfafd46f83ac406006ff175900b81d00.tar.bz2 samba-1ad23832cfafd46f83ac406006ff175900b81d00.zip |
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.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/filename.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 88ee42ce08..16e36312bb 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, |