1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-19 12:23:49 +03:00

Add error string for access denied in libnetapi.

Guenther
This commit is contained in:
Günther Deschner
2007-12-20 15:06:20 +01:00
parent acc5d8e784
commit 4df868e3c3

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;