1
0
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:
Günther Deschner
2007-12-20 15:06:20 +01:00
parent 1a30bdb506
commit 9518d738b1

View File

@ -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;