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 commit is contained in:
parent
61c312a943
commit
417f64184e
@ -617,6 +617,11 @@ static const struct {
|
||||
NTSTATUS ntstatus;
|
||||
WERROR werror;
|
||||
} 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(0x105), W_ERROR(0xea)},
|
||||
{NT_STATUS(0x106), W_ERROR(0x514)},
|
||||
|
Loading…
Reference in New Issue
Block a user