From: Christian Ambach Date: Mon, 8 Jun 2015 21:48:54 +0000 (+0200) Subject: s3:param/loadparm fix testparm --show-all-parameters X-Git-Tag: samba-4.1.20~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af4617aea187d701d1f43cc5faefd0f2302f60f3;p=thirdparty%2Fsamba.git s3:param/loadparm fix testparm --show-all-parameters it didn't know about the new types of config parameters BUG: https://bugzilla.samba.org/show_bug.cgi?id=11170 Signed-off-by: Christian Ambach Reviewed-by: Michael Adam Autobuild-User(master): Michael Adam Autobuild-Date(master): Tue Jun 9 11:49:18 CEST 2015 on sn-devel-104 --- diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 4b31023cd7c..bed39a490bd 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -2030,7 +2030,7 @@ static void show_parameter(int parmIndex) bool inverse; const char *type[] = { "P_BOOL", "P_BOOLREV", "P_CHAR", "P_INTEGER", "P_OCTAL", "P_LIST", "P_STRING", "P_USTRING", - "P_ENUM", "P_SEP"}; + "P_ENUM", "P_BYTES", "P_CMDLIST", "P_SEP" }; unsigned flags[] = { FLAG_BASIC, FLAG_SHARE, FLAG_PRINT, FLAG_GLOBAL, FLAG_WIZARD, FLAG_ADVANCED, FLAG_DEVELOPER, FLAG_DEPRECATED, FLAG_HIDE};