[PATCH] Fix for Bug 11170
Christian Ambach
ambi at samba.org
Mon Jun 8 15:59:20 MDT 2015
Hi list,
please find a patch for Bug 11170 attached for review.
Cheers,
Christian
-------------- next part --------------
>From 2216c965e796d0666bef0ca69cd8bac188b98a90 Mon Sep 17 00:00:00 2001
From: Christian Ambach <ambi at samba.org>
Date: Mon, 8 Jun 2015 23:48:54 +0200
Subject: [PATCH] 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 at samba.org>
---
source3/param/loadparm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 6f8e145..cedaf1a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -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};
--
1.9.1
More information about the samba-technical
mailing list