summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/netapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/netapi/netapi.c')
-rw-r--r--source3/lib/netapi/netapi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c
index 70d7e654a7..1db745b5c7 100644
--- a/source3/lib/netapi/netapi.c
+++ b/source3/lib/netapi/netapi.c
@@ -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;