summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-07-09 13:24:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:54 -0500
commitc13f62a6753e9cb9b19408752566495e11f329f5 (patch)
tree750398a4b4c70512c2d4918a706a06135976b06d
parenta3f69f3710edfca08fce2f8b03ffcd7147edef85 (diff)
downloadsamba-c13f62a6753e9cb9b19408752566495e11f329f5.tar.gz
samba-c13f62a6753e9cb9b19408752566495e11f329f5.tar.bz2
samba-c13f62a6753e9cb9b19408752566495e11f329f5.zip
r23765: Another error-path restore_case_semantics().
(This used to be commit a3e5fe1693a3e1830561d60254d6a3bfc0c30686)
-rw-r--r--source3/smbd/nttrans.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 17d71117ed..6681ce7de3 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/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);
}