r23765: Another error-path restore_case_semantics().
[ira/wip.git] / source3 / smbd / nttrans.c
index 17d71117ed8573a3fbb9476cd822e70395d36b5d..6681ce7de3c9e6d518371bc8d199278244bd0437 100644 (file)
@@ -1377,6 +1377,7 @@ static int call_nt_transact_create(connection_struct *conn, char *inbuf, char *o
     
        status = resolve_dfspath(conn, SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES, fname);
        if (!NT_STATUS_IS_OK(status)) {
+               restore_case_semantics(conn, file_attributes);
                if (NT_STATUS_EQUAL(status,NT_STATUS_PATH_NOT_COVERED)) {
                        return ERROR_BOTH(NT_STATUS_PATH_NOT_COVERED, ERRSRV, ERRbadpath);
                }