mirror of
https://github.com/samba-team/samba.git
synced 2025-06-01 09:05:46 +03:00
errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFUL
This allows us to distinguish on NTSTATUS level if we got a WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
This commit is contained in:
parent
79177c1d36
commit
c93e2d9d43
@ -1514,7 +1514,7 @@ static const struct {
|
||||
} wbcErr_ntstatus_map[] = {
|
||||
{ WBC_ERR_SUCCESS, NT_STATUS_OK },
|
||||
{ WBC_ERR_NOT_IMPLEMENTED, NT_STATUS_NOT_IMPLEMENTED },
|
||||
{ WBC_ERR_UNKNOWN_FAILURE, NT_STATUS_INTERNAL_ERROR },
|
||||
{ WBC_ERR_UNKNOWN_FAILURE, NT_STATUS_UNSUCCESSFUL },
|
||||
{ WBC_ERR_NO_MEMORY, NT_STATUS_NO_MEMORY },
|
||||
{ WBC_ERR_INVALID_SID, NT_STATUS_INVALID_SID },
|
||||
{ WBC_ERR_INVALID_PARAM, NT_STATUS_INVALID_PARAMETER },
|
||||
|
@ -1414,7 +1414,7 @@ static const struct {
|
||||
} wbcErr_ntstatus_map[] = {
|
||||
{ WBC_ERR_SUCCESS, NT_STATUS_OK },
|
||||
{ WBC_ERR_NOT_IMPLEMENTED, NT_STATUS_NOT_IMPLEMENTED },
|
||||
{ WBC_ERR_UNKNOWN_FAILURE, NT_STATUS_INTERNAL_ERROR },
|
||||
{ WBC_ERR_UNKNOWN_FAILURE, NT_STATUS_UNSUCCESSFUL },
|
||||
{ WBC_ERR_NO_MEMORY, NT_STATUS_NO_MEMORY },
|
||||
{ WBC_ERR_INVALID_SID, NT_STATUS_INVALID_SID },
|
||||
{ WBC_ERR_INVALID_PARAM, NT_STATUS_INVALID_PARAMETER },
|
||||
|
Loading…
x
Reference in New Issue
Block a user