Remove call into reduce_name if case sensitive. This allows us to pass
[ira/wip.git] / source3 / smbd / filename.c
index 88ee42ce08f6345ed40aafcb59c06476d3ec0a98..16e36312bbf78fa472f36ab6e9f6a05f55310086 100644 (file)
@@ -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,