lib/param: Add .flags to wins parameters to match s3
authorAndrew Bartlett <abartlet@samba.org>
Mon, 28 May 2012 04:53:26 +0000 (14:53 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 May 2012 02:15:11 +0000 (04:15 +0200)
This reduces the difference in the parameter tables.

Andrew Bartlett

lib/param/loadparm.c

index c2781ec61a9e022639d27f20fd41029541c08ffe..8120ae40f0041590a380d7772491a96172f7a101 100644 (file)
@@ -991,7 +991,8 @@ static struct parm_struct parm_table[] = {
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(szWINSservers),
                .special        = NULL,
-               .enum_list      = NULL
+               .enum_list      = NULL,
+               .flags          = FLAG_BASIC | FLAG_ADVANCED | FLAG_WIZARD,
        },
        {
                .label          = "wins support",
@@ -999,7 +1000,8 @@ static struct parm_struct parm_table[] = {
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(bWINSsupport),
                .special        = NULL,
-               .enum_list      = NULL
+               .enum_list      = NULL,
+               .flags          = FLAG_BASIC | FLAG_ADVANCED | FLAG_WIZARD,
        },
        {
                .label          = "wins hook",