diff options
author | Volker Lendecke <vl@sernet.de> | 2007-11-25 12:54:52 +0100 |
---|---|---|
committer | Volker Lendecke <vl@sernet.de> | 2007-11-25 12:54:52 +0100 |
commit | bff221cf1b52552fc556aa2c880a7e386b1cb2ac (patch) | |
tree | c5b7d929758752424aa5a42fe38078ef32ac38c6 | |
parent | 5c6f96144706ceb4f7fd3a5515dcebf78b21c908 (diff) | |
download | samba-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)
-rw-r--r-- | source3/libsmb/clierror.c | 1 |
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}, |