mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Add error string for access denied in libnetapi.
Guenther
(This used to be commit 4df868e3c3
)
This commit is contained in:
@ -158,6 +158,9 @@ const char *libnetapi_errstr(struct libnetapi_ctx *ctx,
|
||||
case 0:
|
||||
err_str = "Success";
|
||||
break;
|
||||
case 0x00000005: /* WERR_ACCESS_DENIED */
|
||||
err_str = "Access is denied";
|
||||
break;
|
||||
case 0x00000057: /* WERR_INVALID_PARAM */
|
||||
err_str = "Invalid parameter";
|
||||
break;
|
||||
|
Reference in New Issue
Block a user