s3 Reorder loadparm to keep aliases together
authorSteven Danneman <steven.danneman@isilon.com>
Wed, 6 May 2009 00:42:56 +0000 (17:42 -0700)
committerSteven Danneman <steven.danneman@isilon.com>
Wed, 6 May 2009 00:42:56 +0000 (17:42 -0700)
This keeps the "browseable" and "browsable" aliases together.

source3/param/loadparm.c

index 6dd8dbc9ce87722e8ea25025bd8514934442609a..a6c535c182e110917f7830af500fef20d3309c70 100644 (file)
@@ -3354,22 +3354,22 @@ static struct parm_struct parm_table[] = {
                .flags          = FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT,
        },
        {
                .flags          = FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT,
        },
        {
-               .label          = "access based share enum",
+               .label          = "browsable",
                .type           = P_BOOL,
                .p_class        = P_LOCAL,
                .type           = P_BOOL,
                .p_class        = P_LOCAL,
-               .ptr            = &sDefault.bAccessBasedShareEnum,
+               .ptr            = &sDefault.bBrowseable,
                .special        = NULL,
                .enum_list      = NULL,
                .special        = NULL,
                .enum_list      = NULL,
-               .flags          = FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE
+               .flags          = FLAG_HIDE,
        },
        {
        },
        {
-               .label          = "browsable",
+               .label          = "access based share enum",
                .type           = P_BOOL,
                .p_class        = P_LOCAL,
                .type           = P_BOOL,
                .p_class        = P_LOCAL,
-               .ptr            = &sDefault.bBrowseable,
+               .ptr            = &sDefault.bAccessBasedShareEnum,
                .special        = NULL,
                .enum_list      = NULL,
                .special        = NULL,
                .enum_list      = NULL,
-               .flags          = FLAG_HIDE,
+               .flags          = FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE
        },
        {
                .label          = "enhanced browsing",
        },
        {
                .label          = "enhanced browsing",