diff options
author | Günther Deschner <gd@samba.org> | 2007-12-20 15:06:20 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2007-12-21 15:29:11 +0100 |
commit | 9518d738b17eb987dffb20f68df6b6768113b441 (patch) | |
tree | 500a456ff29ae2bd391da590408ac190d07a97e2 | |
parent | 1a30bdb506f3f288e781cf1f445696c7eceb823e (diff) | |
download | samba-9518d738b17eb987dffb20f68df6b6768113b441.tar.gz samba-9518d738b17eb987dffb20f68df6b6768113b441.tar.bz2 samba-9518d738b17eb987dffb20f68df6b6768113b441.zip |
Add error string for access denied in libnetapi.
Guenther
(This used to be commit 4df868e3c366958c64ed8445489c8d1e8a28e50b)
-rw-r--r-- | source3/lib/netapi/netapi.c | 3 |
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; |