summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-22 07:51:05 +0200
committerMichael Adam <obnox@samba.org>2013-09-24 07:44:28 +0200
commitb7db29eb2a224068282f9dd38502a147c2df5712 (patch)
tree0984cd83b2929ae17a47302012fc3ee8a792f33a /source3/utils
parentbceb34543e68306ad7cf69894302682e916b2325 (diff)
downloadsamba-b7db29eb2a224068282f9dd38502a147c2df5712.tar.gz
samba-b7db29eb2a224068282f9dd38502a147c2df5712.tar.bz2
samba-b7db29eb2a224068282f9dd38502a147c2df5712.zip
s3:net rpc conf: print the provided parameter name on error, not the canonicalized one
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c
index 0893442620..49c2eaf5f8 100644
--- 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;
}