]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:param/loadparm fix testparm --show-all-parameters
authorChristian Ambach <ambi@samba.org>
Mon, 8 Jun 2015 21:48:54 +0000 (23:48 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 30 Jun 2015 00:06:28 +0000 (02:06 +0200)
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 <ambi@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Tue Jun  9 11:49:18 CEST 2015 on sn-devel-104

source3/param/loadparm.c

index 4b31023cd7c20496f0e5c21e0860d5d49ed7a1ca..bed39a490bdc791cdad547d953a4d5824b14e8e7 100644 (file)
@@ -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};