s3:param/loadparm fix testparm --show-all-parameters
authorChristian Ambach <ambi@samba.org>
Mon, 8 Jun 2015 21:48:54 +0000 (23:48 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 9 Jun 2015 09:49:18 +0000 (11:49 +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 6f8e145c6fbce636de8b676dd6feba1c7d019dc6..cedaf1a6e60aa0e3954b94c56ce90ad929efc6f1 100644 (file)
@@ -1713,7 +1713,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_ENUM", "P_BYTES", "P_CMDLIST" };
        unsigned flags[] = { FLAG_DEPRECATED, FLAG_SYNONYM };
        const char *flag_names[] = { "FLAG_DEPRECATED", "FLAG_SYNONYM", NULL};