From 222850bf80dca69c1ee920d95b6b0a1f48fc589b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 23 Jul 2012 13:51:18 +1000 Subject: lib/param: Re-arrange TLS parameters into their own section This makes the merge with the source3 table less disruptive Based on an earlier patch: Pair-Programmed-With: Andrew Tridgell Andrew Bartlett --- lib/param/loadparm.c | 99 +++++++++++++++++++++++++++------------------------- 1 file changed, 51 insertions(+), 48 deletions(-) (limited to 'lib') diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 69c1469f16..5203327a04 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -566,54 +566,6 @@ static struct parm_struct parm_table[] = { .special = NULL, .enum_list = NULL }, - { - .label = "tls enabled", - .type = P_BOOL, - .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(tls_enabled), - .special = NULL, - .enum_list = NULL - }, - { - .label = "tls keyfile", - .type = P_STRING, - .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(tls_keyfile), - .special = NULL, - .enum_list = NULL - }, - { - .label = "tls certfile", - .type = P_STRING, - .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(tls_certfile), - .special = NULL, - .enum_list = NULL - }, - { - .label = "tls cafile", - .type = P_STRING, - .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(tls_cafile), - .special = NULL, - .enum_list = NULL - }, - { - .label = "tls crlfile", - .type = P_STRING, - .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(tls_crlfile), - .special = NULL, - .enum_list = NULL - }, - { - .label = "tls dh params file", - .type = P_STRING, - .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(tls_dhpfile), - .special = NULL, - .enum_list = NULL - }, { .label = "large readwrite", .type = P_BOOL, @@ -1326,6 +1278,57 @@ static struct parm_struct parm_table[] = { .enum_list = NULL }, + {N_("TLS options"), P_SEP, P_SEPARATOR}, + + { + .label = "tls enabled", + .type = P_BOOL, + .p_class = P_GLOBAL, + .offset = GLOBAL_VAR(tls_enabled), + .special = NULL, + .enum_list = NULL + }, + { + .label = "tls keyfile", + .type = P_STRING, + .p_class = P_GLOBAL, + .offset = GLOBAL_VAR(tls_keyfile), + .special = NULL, + .enum_list = NULL + }, + { + .label = "tls certfile", + .type = P_STRING, + .p_class = P_GLOBAL, + .offset = GLOBAL_VAR(tls_certfile), + .special = NULL, + .enum_list = NULL + }, + { + .label = "tls cafile", + .type = P_STRING, + .p_class = P_GLOBAL, + .offset = GLOBAL_VAR(tls_cafile), + .special = NULL, + .enum_list = NULL + }, + { + .label = "tls crlfile", + .type = P_STRING, + .p_class = P_GLOBAL, + .offset = GLOBAL_VAR(tls_crlfile), + .special = NULL, + .enum_list = NULL + }, + { + .label = "tls dh params file", + .type = P_STRING, + .p_class = P_GLOBAL, + .offset = GLOBAL_VAR(tls_dhpfile), + .special = NULL, + .enum_list = NULL + }, + {NULL, P_BOOL, P_NONE, 0, NULL, NULL, 0} }; -- cgit