mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:lib: map ENOSYS to NT_STATUS_NOT_SUPPORTED instead of NT_STATUS_ACCESS_DENIED
Jeremy: please check and decide if we want to backport this. metze
This commit is contained in:
parent
b4abb190a9
commit
fafe2589e6
@ -40,6 +40,7 @@ const struct unix_error_map unix_dos_nt_errmap[] = {
|
||||
{ EISDIR, ERRDOS, ERRnoaccess, NT_STATUS_FILE_IS_A_DIRECTORY},
|
||||
{ EMLINK, ERRDOS, ERRgeneral, NT_STATUS_TOO_MANY_LINKS },
|
||||
{ EINTR, ERRHRD, ERRgeneral, NT_STATUS_RETRY },
|
||||
{ ENOSYS, ERRDOS, ERRunsup, NT_STATUS_NOT_SUPPORTED },
|
||||
#ifdef ELOOP
|
||||
{ ELOOP, ERRDOS, ERRbadpath, NT_STATUS_OBJECT_PATH_NOT_FOUND },
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user