From 8c60a408e137a85d648422f5dbef4f53874236a3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 12 Feb 2003 00:41:35 +0000 Subject: add a note about relative opens with blank paths - its a re-open! (not implemented yet) (This used to be commit bceac9cdde04a57d661b6a7ece329fa6d5a169bd) --- source3/smbd/nttrans.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/smbd') diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 29ebdce5a8..bfac4e82e3 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -629,6 +629,16 @@ create_options = 0x%x root_dir_fid = 0x%x\n", flags, desired_access, file_attrib END_PROFILE(SMBntcreateX); return ERROR_NT(NT_STATUS_OBJECT_PATH_NOT_FOUND); } + + + /* + we need to handle the case when we get a + relative open relative to a file and the + pathname is blank - this is a reopen! + (hint from demyn plantenberg) + */ + + END_PROFILE(SMBntcreateX); return(ERROR_DOS(ERRDOS,ERRbadfid)); } -- cgit