From: Volker Lendecke Date: Mon, 9 Jul 2007 13:24:31 +0000 (+0000) Subject: r23765: Another error-path restore_case_semantics(). X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a3e5fe1693a3e1830561d60254d6a3bfc0c30686;p=thirdparty%2Fsamba.git r23765: Another error-path restore_case_semantics(). --- diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c index 17d71117ed8..6681ce7de3c 100644 --- a/source/smbd/nttrans.c +++ b/source/smbd/nttrans.c @@ -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); }