param: change a number of parameters from P_LIST to P_CMDLIST
authorGarming Sam <garming@catalyst.net.nz>
Tue, 6 May 2014 02:56:46 +0000 (14:56 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 7 Jul 2014 21:32:35 +0000 (23:32 +0200)
These parameters are being changed to use their original syntax to match source3.

netbios aliases, interfaces, auth methods, invalid users, valid users,
admin users, read list, write list, hosts allow, hosts deny, preload
modules, smb ports, name resolve order, svcctl list, cluster addresses,
init logon delayed hosts, wins server, eventlog list, usershare prefix
allow list, usershare prefix deny list, vfs objects, winbind nss info

The documentation has also been changed to be consistent with the
change.

Change-Id: I536481098a508e0366c910b180f2db6a6f0634a9
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
docs-xml/smbdotconf/protocol/nameresolveorder.xml
docs-xml/smbdotconf/protocol/smbports.xml
lib/param/param_table.c

index 387bc9db48ce107eefba039abbd4fd2b49265ef2..662c3fbee9544186c7f458afaee503da20ef60e0 100644 (file)
@@ -65,6 +65,6 @@
  
 </description>
 
-<value type="default">lmhosts, wins, host, bcast</value>
-<value type="example">lmhosts, bcast, host</value>
+<value type="default">lmhosts wins host bcast</value>
+<value type="example">lmhosts bcast host</value>
 </samba:parameter>
index c5bec22e410eaddf418cab0c2c75b92ed4c8103b..aaf4919db03cbd7ab6a5a5f43420d8e00a60664e 100644 (file)
@@ -7,5 +7,5 @@
        <para>Specifies which ports the server should listen on for SMB traffic.</para>
 </description>
 
-<value type="default">445, 139</value>
+<value type="default">445 139</value>
 </samba:parameter>
index 578b154e4b7e70a6bc26f0cdba8c467441dc0dca..88e4788f09051a9f57fa31012499a3d87f4fe1e5 100644 (file)
@@ -363,7 +363,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "netbios aliases",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(netbios_aliases),
                .special        = handle_netbios_aliases,
@@ -390,7 +390,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "interfaces",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(interfaces),
                .special        = NULL,
@@ -438,7 +438,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "auth methods",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(auth_methods),
                .special        = NULL,
@@ -790,7 +790,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "invalid users",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_LOCAL,
                .offset         = LOCAL_VAR(invalid_users),
                .special        = NULL,
@@ -799,7 +799,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "valid users",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_LOCAL,
                .offset         = LOCAL_VAR(valid_users),
                .special        = NULL,
@@ -808,7 +808,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "admin users",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_LOCAL,
                .offset         = LOCAL_VAR(admin_users),
                .special        = NULL,
@@ -817,7 +817,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "read list",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_LOCAL,
                .offset         = LOCAL_VAR(read_list),
                .special        = NULL,
@@ -826,7 +826,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "write list",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_LOCAL,
                .offset         = LOCAL_VAR(write_list),
                .special        = NULL,
@@ -1080,7 +1080,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "hosts allow",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_LOCAL,
                .offset         = LOCAL_VAR(hosts_allow),
                .special        = NULL,
@@ -1089,7 +1089,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "allow hosts",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_LOCAL,
                .offset         = LOCAL_VAR(hosts_allow),
                .special        = NULL,
@@ -1098,7 +1098,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "hosts deny",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_LOCAL,
                .offset         = LOCAL_VAR(hosts_deny),
                .special        = NULL,
@@ -1107,7 +1107,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "deny hosts",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_LOCAL,
                .offset         = LOCAL_VAR(hosts_deny),
                .special        = NULL,
@@ -1116,7 +1116,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "preload modules",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(preload_modules),
                .special        = NULL,
@@ -1321,7 +1321,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "smb ports",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(smb_ports),
                .special        = NULL,
@@ -1554,7 +1554,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "name resolve order",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(name_resolve_order),
                .special        = NULL,
@@ -1671,7 +1671,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "svcctl list",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(svcctl_list),
                .special        = NULL,
@@ -1964,7 +1964,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "cluster addresses",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(cluster_addresses),
                .special        = NULL,
@@ -2773,7 +2773,7 @@ struct parm_struct parm_table[] = {
 
        {
                .label          = "init logon delayed hosts",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(init_logon_delayed_hosts),
                .special        = NULL,
@@ -2925,7 +2925,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "wins server",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(wins_server_list),
                .special        = NULL,
@@ -3249,7 +3249,7 @@ struct parm_struct parm_table[] = {
 
        {
                .label          = "eventlog list",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(eventlog_list),
                .special        = NULL,
@@ -3696,7 +3696,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "usershare prefix allow list",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(usershare_prefix_allow_list),
                .special        = NULL,
@@ -3705,7 +3705,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "usershare prefix deny list",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(usershare_prefix_deny_list),
                .special        = NULL,
@@ -3870,7 +3870,7 @@ struct parm_struct parm_table[] = {
 
        {
                .label          = "vfs objects",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_LOCAL,
                .offset         = LOCAL_VAR(vfs_objects),
                .special        = NULL,
@@ -3879,7 +3879,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "vfs object",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_LOCAL,
                .offset         = LOCAL_VAR(vfs_objects),
                .special        = NULL,
@@ -4102,7 +4102,7 @@ struct parm_struct parm_table[] = {
        },
        {
                .label          = "winbind nss info",
-               .type           = P_LIST,
+               .type           = P_CMDLIST,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(winbind_nss_info),
                .special        = NULL,