mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r10545: map ECONNRESET to NT_STATUS_CONNECTION_RESET
metze
(This used to be commit e753114e86
)
This commit is contained in:
parent
1c701527ff
commit
5880f79f4f
@ -1277,6 +1277,9 @@ const struct unix_error_map unix_nt_errmap[] = {
|
|||||||
{ ENOMEM, NT_STATUS_NO_MEMORY },
|
{ ENOMEM, NT_STATUS_NO_MEMORY },
|
||||||
{ EPIPE, NT_STATUS_CONNECTION_DISCONNECTED },
|
{ EPIPE, NT_STATUS_CONNECTION_DISCONNECTED },
|
||||||
{ ECONNREFUSED, NT_STATUS_CONNECTION_REFUSED },
|
{ ECONNREFUSED, NT_STATUS_CONNECTION_REFUSED },
|
||||||
|
#ifdef ECONNRESET
|
||||||
|
{ ECONNRESET, NT_STATUS_CONNECTION_RESET },
|
||||||
|
#endif
|
||||||
{ EBUSY, NT_STATUS_SHARING_VIOLATION },
|
{ EBUSY, NT_STATUS_SHARING_VIOLATION },
|
||||||
#ifdef ENOTSUP
|
#ifdef ENOTSUP
|
||||||
{ ENOTSUP, NT_STATUS_NOT_SUPPORTED},
|
{ ENOTSUP, NT_STATUS_NOT_SUPPORTED},
|
||||||
|
Loading…
Reference in New Issue
Block a user