diff options
author | Jeremy Allison <jra@samba.org> | 2003-10-08 23:21:25 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-10-08 23:21:25 +0000 |
commit | 9a08def3a2d3632e3b9fb8d83967df0f76e616ca (patch) | |
tree | 38c67f69eeb499d50cbbf4b9ebeeecc0b01b578b /source3/libsmb/errormap.c | |
parent | 2c1030d755a83b8f8df21e06e52b708e0d72cb04 (diff) | |
download | samba-9a08def3a2d3632e3b9fb8d83967df0f76e616ca.tar.gz samba-9a08def3a2d3632e3b9fb8d83967df0f76e616ca.tar.bz2 samba-9a08def3a2d3632e3b9fb8d83967df0f76e616ca.zip |
Fixup error code returns from Samba4 tester. Ensure invalid paths are
validated the same way.
Jeremy.
(This used to be commit 960e2b4a5f09d3ef80a926894ee7a28549b8de45)
Diffstat (limited to 'source3/libsmb/errormap.c')
-rw-r--r-- | source3/libsmb/errormap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c index 3d99e3d5e5..4d9a717e1c 100644 --- a/source3/libsmb/errormap.c +++ b/source3/libsmb/errormap.c @@ -1490,7 +1490,7 @@ const struct unix_error_map unix_dos_nt_errmap[] = { { EPERM, ERRDOS, ERRnoaccess, NT_STATUS_ACCESS_DENIED }, { EACCES, ERRDOS, ERRnoaccess, NT_STATUS_ACCESS_DENIED }, { ENOENT, ERRDOS, ERRbadfile, NT_STATUS_OBJECT_NAME_NOT_FOUND }, - { ENOTDIR, ERRDOS, ERRbadpath, NT_STATUS_OBJECT_PATH_NOT_FOUND }, + { ENOTDIR, ERRDOS, ERRbadpath, NT_STATUS_NOT_A_DIRECTORY }, { EIO, ERRHRD, ERRgeneral, NT_STATUS_IO_DEVICE_ERROR }, { EBADF, ERRSRV, ERRsrverror, NT_STATUS_INVALID_HANDLE }, { EINVAL, ERRSRV, ERRsrverror, NT_STATUS_INVALID_HANDLE }, |