summaryrefslogtreecommitdiff
path: root/lib/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2015-07-23 13:59:26 +0200
committerJeremy Allison <jra@samba.org>2015-07-31 01:55:31 +0200
commite5ac180fbe34cc3953de246dbd4b2136e2b014ac (patch)
treec23de6f28793a7055d4d31aa9d21135de8919b6f /lib/param
parentc03891c0d5a1abe739791c7705d8aa82cc3614b4 (diff)
downloadsamba-e5ac180fbe34cc3953de246dbd4b2136e2b014ac.tar.gz
param: add SYNONYM flag where missing
thereby remove DEPRECATED flags: synonyms currently only carry the syn flag. Other flags sit on the primary entry. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/param_table.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index c7eee9aab0b..cfabe5cd51e 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -798,6 +798,7 @@ struct parm_struct parm_table[] = {
.offset = LOCAL_VAR(force_group),
.special = NULL,
.enum_list = NULL,
+ .flags = FLAG_SYNONYM,
},
{
.label = "read only",
@@ -916,6 +917,7 @@ struct parm_struct parm_table[] = {
.offset = LOCAL_VAR(directory_mask),
.special = NULL,
.enum_list = NULL,
+ .flags = FLAG_SYNONYM,
},
{
.label = "force directory mode",
@@ -1261,6 +1263,7 @@ struct parm_struct parm_table[] = {
.offset = GLOBAL_VAR(server_max_protocol),
.special = NULL,
.enum_list = enum_protocol,
+ .flags = FLAG_SYNONYM,
},
{
.label = "protocol",
@@ -1269,6 +1272,7 @@ struct parm_struct parm_table[] = {
.offset = GLOBAL_VAR(server_max_protocol),
.special = NULL,
.enum_list = enum_protocol,
+ .flags = FLAG_SYNONYM,
},
{
.label = "server min protocol",
@@ -1285,6 +1289,7 @@ struct parm_struct parm_table[] = {
.offset = GLOBAL_VAR(server_min_protocol),
.special = NULL,
.enum_list = enum_protocol,
+ .flags = FLAG_SYNONYM,
},
{
.label = "client max protocol",
@@ -2998,6 +3003,7 @@ struct parm_struct parm_table[] = {
.offset = GLOBAL_VAR(auto_services),
.special = NULL,
.enum_list = NULL,
+ .flags = FLAG_SYNONYM,
},
{
.label = "auto services",
@@ -3098,6 +3104,7 @@ struct parm_struct parm_table[] = {
.offset = GLOBAL_VAR(defaultservice),
.special = NULL,
.enum_list = NULL,
+ .flags = FLAG_SYNONYM,
},
{
.label = "message command",
@@ -3171,7 +3178,7 @@ struct parm_struct parm_table[] = {
.offset = GLOBAL_VAR(nbt_client_socket_address),
.special = NULL,
.enum_list = NULL,
- .flags = FLAG_DEPRECATED,
+ .flags = FLAG_SYNONYM,
},
{
.label = "nmbd bind explicit broadcast",
@@ -3262,6 +3269,7 @@ struct parm_struct parm_table[] = {
.offset = LOCAL_VAR(preexec),
.special = NULL,
.enum_list = NULL,
+ .flags = FLAG_SYNONYM,
},
{
.label = "preexec close",