diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c index 7a97f2bdd85..3f18a3ea7ed 100644 --- a/dlls/ntdll/unix/file.c +++ b/dlls/ntdll/unix/file.c @@ -1128,7 +1128,10 @@ static BOOLEAN get_dir_case_sensitivity_stat( const char *dir ) !strncmp( stfs.f_mntfromname, "ciopfs", 5 )) return FALSE; /* msdosfs was case-insensitive since FreeBSD 8, if not earlier */ - if (!strcmp( stfs.f_fstypename, "msdosfs" )) + if (!strcmp( stfs.f_fstypename, "msdosfs" ) || + /* older CIFS protocol versions uppercase filename on the client, + * newer versions should be case-insensitive on the server anyway */ + !strcmp( stfs.f_fstypename, "smbfs" )) return FALSE; #ifdef __APPLE__ if (!strcmp( stfs.f_fstypename, "msdos" ) ||