1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

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 <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
This commit is contained in:
Christian Ambach 2015-06-08 23:48:54 +02:00 committed by Michael Adam
parent b1e718f101
commit af7cc9d1b4

View File

@ -1713,7 +1713,7 @@ static void show_parameter(int parmIndex)
bool inverse; bool inverse;
const char *type[] = { "P_BOOL", "P_BOOLREV", "P_CHAR", "P_INTEGER", const char *type[] = { "P_BOOL", "P_BOOLREV", "P_CHAR", "P_INTEGER",
"P_OCTAL", "P_LIST", "P_STRING", "P_USTRING", "P_OCTAL", "P_LIST", "P_STRING", "P_USTRING",
"P_ENUM" }; "P_ENUM", "P_BYTES", "P_CMDLIST" };
unsigned flags[] = { FLAG_DEPRECATED, FLAG_SYNONYM }; unsigned flags[] = { FLAG_DEPRECATED, FLAG_SYNONYM };
const char *flag_names[] = { "FLAG_DEPRECATED", "FLAG_SYNONYM", NULL}; const char *flag_names[] = { "FLAG_DEPRECATED", "FLAG_SYNONYM", NULL};