git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1be069
)
s3:net rpc conf: use the published smbconf_reg_parameter_is_valid()
author
Michael Adam
<obnox@samba.org>
Sun, 22 Sep 2013 01:44:58 +0000
(
03:44
+0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 24 Sep 2013 05:44:28 +0000
(07:44 +0200)
Instead of the duplicated rpc_conf_reg_valname_forbidden()
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 8c5717c519dec516a87f81115e8924655bd00cd1..5396e0f6d4e91f2fb41e43f4f0d787358b068561 100644
(file)
--- a/
source3/utils/net_rpc_conf.c
+++ b/
source3/utils/net_rpc_conf.c
@@
-1859,7
+1859,7
@@
static NTSTATUS rpc_conf_setparm_internal(struct net_context *c,
goto error;
}
- if (
rpc_conf_reg_valname_forbidden
(canon_valname)) {
+ if (
!smbconf_reg_parameter_is_valid
(canon_valname)) {
d_fprintf(stderr, "Parameter '%s' not allowed in registry.\n",
canon_valname);
werr = WERR_INVALID_PARAM;