1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

smbd: Add a DEBUG to create_file_unixpath()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke
2022-03-28 16:49:04 +02:00
committed by Jeremy Allison
parent af1719a92b
commit 103dc3f938

View File

@ -5750,6 +5750,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
uint32_t base_privflags;
if (create_options & FILE_DIRECTORY_FILE) {
DBG_DEBUG("Can't open a stream as directory\n");
status = NT_STATUS_NOT_A_DIRECTORY;
goto fail;
}