git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bceb345
)
s3:net rpc conf: print the provided parameter name on error, not the canonicalized one
author
Michael Adam
<obnox@samba.org>
Sun, 22 Sep 2013 05:51:05 +0000
(07:51 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 24 Sep 2013 05:44:28 +0000
(07:44 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/utils/net_rpc_conf.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc_conf.c
b/source3/utils/net_rpc_conf.c
index 0893442620d1cba9a5c735c1df35fe3be691496d..49c2eaf5f8cf2282aa27773f3d1acf00f6eac2d3 100644
(file)
--- a/
source3/utils/net_rpc_conf.c
+++ b/
source3/utils/net_rpc_conf.c
@@
-1840,7
+1840,7
@@
static NTSTATUS rpc_conf_setparm_internal(struct net_context *c,
if (!smbconf_reg_parameter_is_valid(canon_valname)) {
d_fprintf(stderr, "Parameter '%s' not allowed in registry.\n",
-
canon_valname
);
+
argv[1]
);
werr = WERR_INVALID_PARAM;
goto error;
}