summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-22 03:45:28 +0200
committerMichael Adam <obnox@samba.org>2013-09-24 07:44:28 +0200
commitbceb34543e68306ad7cf69894302682e916b2325 (patch)
treef6178eb34d64b24ba69d5e34fd69b93ae9832b00 /source3/utils
parent0c4e5fcc536723ac2e3c55273fc50d1727e91d0f (diff)
downloadsamba-bceb34543e68306ad7cf69894302682e916b2325.tar.gz
samba-bceb34543e68306ad7cf69894302682e916b2325.tar.bz2
samba-bceb34543e68306ad7cf69894302682e916b2325.zip
s3:net rpc conf: remove the (now) unused rpc_conf_reg_valname_forbidden()
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.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c
index 5396e0f6d4..0893442620 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -175,27 +175,6 @@ static int rpc_conf_delincludes_usage(struct net_context *c, int argc,
*
**********************************************************/
-static bool rpc_conf_reg_valname_forbidden(const char * valname)
-{
- const char *forbidden_valnames[] = {
- "lock directory",
- "lock dir",
- "config backend",
- "include",
- "includes", /* this has a special meaning internally */
- NULL
- };
- const char **forbidden = NULL;
-
- for (forbidden = forbidden_valnames; *forbidden != NULL; forbidden++) {
- if (strwicmp(valname, *forbidden) == 0) {
- return true;
- }
- }
- return false;
-
-}
-
/*
* The function deletes a registry value with the name 'value' from the share
* with the name 'share_name'. 'parent_hnd' is the handle for the smbconf key.