summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-11-25 12:54:52 +0100
committerVolker Lendecke <vl@sernet.de>2007-11-25 12:54:52 +0100
commitbff221cf1b52552fc556aa2c880a7e386b1cb2ac (patch)
treec5b7d929758752424aa5a42fe38078ef32ac38c6 /source3
parent5c6f96144706ceb4f7fd3a5515dcebf78b21c908 (diff)
downloadsamba-bff221cf1b52552fc556aa2c880a7e386b1cb2ac.tar.gz
samba-bff221cf1b52552fc556aa2c880a7e386b1cb2ac.tar.bz2
samba-bff221cf1b52552fc556aa2c880a7e386b1cb2ac.zip
In libsmbclient, map NT_STATUS_OBJECT_PATH_NOT_FOUND to ENOENT
Thanks to SATOH Fumiyasu! This fixes bug 4974 (This used to be commit 41e07682dc1fa535ddaf405efa26fabb33c8bbf9)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clierror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c
index 2232ee27a7..c9c5a6cd30 100644
--- a/source3/libsmb/clierror.c
+++ b/source3/libsmb/clierror.c
@@ -239,6 +239,7 @@ static const struct {
{NT_STATUS_INVALID_HANDLE, EBADF},
{NT_STATUS_ACCESS_DENIED, EACCES},
{NT_STATUS_OBJECT_NAME_NOT_FOUND, ENOENT},
+ {NT_STATUS_OBJECT_PATH_NOT_FOUND, ENOENT},
{NT_STATUS_SHARING_VIOLATION, EBUSY},
{NT_STATUS_OBJECT_PATH_INVALID, ENOTDIR},
{NT_STATUS_OBJECT_NAME_COLLISION, EEXIST},