Changes to allow Samba to return the same error code as Windows NT.
authorSamba Release Account <samba-bugs@samba.org>
Wed, 20 Aug 1997 20:32:23 +0000 (20:32 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Wed, 20 Aug 1997 20:32:23 +0000 (20:32 +0000)
commit46dbd8c06009ad9e64251ae844fb16f2a30f5ab7
treeb3665c4cdda6e60c2e85218f6778213817b4210f
parentc76dc7c2963d1205cf46849df6b6f0edbf63692d
Changes to allow Samba to return the same error code as Windows NT.
Takes care of the cases where a Windows program is parsing a pathname
component by component and expects 2 different errors.
ERRbadpath - if a component in the path doesn't exist.
ERRbaddirectory - if a component in the path exists but is not a directory.
Extra error code added to smb.h to support this.
Code based on suggestions from "Christian Groessler" <chris@fast-ag.de>.

Jeremy (jallison@whistle.com)
(This used to be commit 28b3c6db8a81b41b448a4f3cd98e9cd2c4b5fb2e)
source3/include/proto.h
source3/include/smb.h
source3/lib/util.c
source3/smbd/pipes.c
source3/smbd/reply.c
source3/smbd/server.c
source3/smbd/trans2.c