summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-02-12 01:06:52 +0000
committerJeremy Allison <jra@samba.org>2003-02-12 01:06:52 +0000
commitdc1f0fd79ad7037cb32d8f08f6e353000ae52d0b (patch)
tree5afe85abddff93153beacf1a3d5d8a2e7b7a913f
parentef6be9db1e7eee0c5ca7bed844a4c8b9d10f25a2 (diff)
downloadsamba-dc1f0fd79ad7037cb32d8f08f6e353000ae52d0b.tar.gz
samba-dc1f0fd79ad7037cb32d8f08f6e353000ae52d0b.tar.bz2
samba-dc1f0fd79ad7037cb32d8f08f6e353000ae52d0b.zip
Ensure we are not forgetting our janitorial duties...
Jeremy. (This used to be commit 7812370cabd4a8809eed1eb4968d552bcb0df2f5)
-rw-r--r--source3/smbd/nttrans.c10
1 files changed, 10 insertions, 0 deletions
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));
}