git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a30bdb
)
Add error string for access denied in libnetapi.
author
Günther Deschner
<gd@samba.org>
Thu, 20 Dec 2007 14:06:20 +0000
(15:06 +0100)
committer
Günther Deschner
<gd@samba.org>
Fri, 21 Dec 2007 14:29:11 +0000
(15:29 +0100)
Guenther
(This used to be commit
4df868e3c366958c64ed8445489c8d1e8a28e50b
)
source3/lib/netapi/netapi.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/netapi.c
b/source3/lib/netapi/netapi.c
index 70d7e654a71698889cf45167fa92ead523996373..1db745b5c7205460a52034822fa561cd25870e2c 100644
(file)
--- 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;