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)
commit28b3c6db8a81b41b448a4f3cd98e9cd2c4b5fb2e
tree9134988ead2cde309e27f02b5f931b159b61e123
parentde38a0b34fcd65fa3024300f978aa30eb86d854f
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)
source/include/proto.h
source/include/smb.h
source/lib/util.c
source/smbd/pipes.c
source/smbd/reply.c
source/smbd/server.c
source/smbd/trans2.c