From: Steven Danneman Date: Wed, 6 May 2009 00:42:56 +0000 (-0700) Subject: s3 Reorder loadparm to keep aliases together X-Git-Tag: tdb-1.1.5~721 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1db0b20d8a26fb60299d0ed7553d7a4847aee84f;p=thirdparty%2Fsamba.git s3 Reorder loadparm to keep aliases together This keeps the "browseable" and "browsable" aliases together. --- diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 6dd8dbc9ce8..a6c535c182e 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -3354,22 +3354,22 @@ static struct parm_struct parm_table[] = { .flags = FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT, }, { - .label = "access based share enum", + .label = "browsable", .type = P_BOOL, .p_class = P_LOCAL, - .ptr = &sDefault.bAccessBasedShareEnum, + .ptr = &sDefault.bBrowseable, .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, - .ptr = &sDefault.bBrowseable, + .ptr = &sDefault.bAccessBasedShareEnum, .special = NULL, .enum_list = NULL, - .flags = FLAG_HIDE, + .flags = FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE }, { .label = "enhanced browsing",