summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-09-17 12:09:46 +0000
committerAndrew Tridgell <tridge@samba.org>2002-09-17 12:09:46 +0000
commit3fefef7a7238e63716a8003aa27a08627a61b927 (patch)
tree8345a9c14bff2bf9821d222b4aae7d49f61546fb
parent9faf941652119cd5f754d34bfc7d34967bfbf688 (diff)
downloadsamba-3fefef7a7238e63716a8003aa27a08627a61b927.tar.gz
samba-3fefef7a7238e63716a8003aa27a08627a61b927.tar.bz2
samba-3fefef7a7238e63716a8003aa27a08627a61b927.zip
disable stat cache when case sensitive
(This used to be commit 3401c3616b3dcb99053f89d88f8e351c986c9096)
-rw-r--r--source3/smbd/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index ce98af4ace..d343db26f6 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -168,7 +168,7 @@ BOOL unix_convert(pstring name,connection_struct *conn,char *saved_last_componen
pstrcpy(orig_path, name);
- if(stat_cache_lookup(conn, name, dirpath, &start, &st)) {
+ if(!case_sensitive && stat_cache_lookup(conn, name, dirpath, &start, &st)) {
*pst = st;
return True;
}