diff options
-rw-r--r-- | source3/smbd/nttrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 61f21406b6..1d13036920 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -898,7 +898,7 @@ void reply_ntcreate_and_X(connection_struct *conn, if (create_options & FILE_NON_DIRECTORY_FILE) { TALLOC_FREE(case_state); - reply_nterror(req, NT_STATUS_FILE_IS_A_DIRECTORY); + reply_force_nterror(req, NT_STATUS_FILE_IS_A_DIRECTORY); END_PROFILE(SMBntcreateX); return; } |