mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED
metze
(This used to be commit 417f64184e
)
This commit is contained in:
parent
048279b2be
commit
be69066736
@ -617,6 +617,11 @@ static const struct {
|
|||||||
NTSTATUS ntstatus;
|
NTSTATUS ntstatus;
|
||||||
WERROR werror;
|
WERROR werror;
|
||||||
} ntstatus_to_werror_map[] = {
|
} ntstatus_to_werror_map[] = {
|
||||||
|
/*
|
||||||
|
* we add this manualy here, so that W_ERROR(0x5)
|
||||||
|
* gets mapped to NTSTATUS_ACCESS_DENIED
|
||||||
|
*/
|
||||||
|
{NT_STATUS_ACCESS_DENIED, WERR_ACCESS_DENIED},
|
||||||
{NT_STATUS(0x103), W_ERROR(0x3e5)},
|
{NT_STATUS(0x103), W_ERROR(0x3e5)},
|
||||||
{NT_STATUS(0x105), W_ERROR(0xea)},
|
{NT_STATUS(0x105), W_ERROR(0xea)},
|
||||||
{NT_STATUS(0x106), W_ERROR(0x514)},
|
{NT_STATUS(0x106), W_ERROR(0x514)},
|
||||||
|
Loading…
Reference in New Issue
Block a user