disable stat cache when case sensitive
authorAndrew Tridgell <tridge@samba.org>
Tue, 17 Sep 2002 12:09:46 +0000 (12:09 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 17 Sep 2002 12:09:46 +0000 (12:09 +0000)
source/smbd/filename.c

index ce98af4ace5fcc65b8ee552640e34e0082692ce6..d343db26f6b6d57cb7acd65fe642ef37e2918ac9 100644 (file)
@@ -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;
        }