summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-08-20 01:22:05 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-08-20 01:22:05 +0000
commitc76dc7c2963d1205cf46849df6b6f0edbf63692d (patch)
tree4d778d8bcded6c1096902cfa41cd74291307da2a /source3/smbd/server.c
parent5c3357953c038e0cfb20567c704ec0579ca192b7 (diff)
downloadsamba-c76dc7c2963d1205cf46849df6b6f0edbf63692d.tar.gz
samba-c76dc7c2963d1205cf46849df6b6f0edbf63692d.tar.bz2
samba-c76dc7c2963d1205cf46849df6b6f0edbf63692d.zip
Fix suggested by "Christian Groessler" <chris@fast-ag.de>
dir.c: Cause dptr_create to return -2 when failing on unix error. reply.c: Use UNIXERROR in more cases. server.c: Add ENOTDIR mapping to error table. trans2.c: Correctly determine UNIX error on dptr_create. Jeremy (jallison@whistle.com) (This used to be commit de38a0b34fcd65fa3024300f978aa30eb86d854f)
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 3d5b75794b..93d05ffab6 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1940,6 +1940,7 @@ struct
{EPERM,ERRDOS,ERRnoaccess},
{EACCES,ERRDOS,ERRnoaccess},
{ENOENT,ERRDOS,ERRbadfile},
+ {ENOTDIR,ERRDOS,ERRbadpath},
{EIO,ERRHRD,ERRgeneral},
{EBADF,ERRSRV,ERRsrverror},
{EINVAL,ERRSRV,ERRsrverror},