The Samba-Bugzilla – Bug 1417
wrong reply for search on bad path
Last modified: 2006-04-08 11:40:39 UTC
Attached is a level 10 debug of a search operation. The directory in question
("TESTNA") does not exist (Message: Intermediate not found TESTNA). Samba
returns a search result of 0 entries. Doing the same against windows 2000
returns "Directory not found". I have one applcation, which relies an this
behavior. The following patch solved this.
--- reply.c.orig 2004-06-02 13:34:39.000000000 +0200
+++ reply.c 2004-06-02 13:34:39.000000000 +0200
@@ -806,6 +806,12 @@
} /* if (ok ) */
+ else if(bad_path)
+ return set_bad_path_error(errno, bad_path, outbuf, ERRDOS,
This patch has not been tested intensivly and someone who has more insight into
this code should look into this.
Created attachment 534 [details]
level 10 debug
please take a look at this one when you get a chance.
please reopen if the bug still exists.