libgpo/security_CSE: more preamble header checks of SecEdit/GptTmpl.inf files.
authorGünther Deschner <gd@samba.org>
Tue, 10 Dec 2013 23:59:55 +0000 (00:59 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 12 Dec 2013 14:31:13 +0000 (15:31 +0100)
$CHICAGO$ needs to be double quoted.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Dec 12 15:31:14 CET 2013 on sn-devel-104

source3/libgpo/gpext/security.c

index dba1e9b72fedc3d1f090995d7f4072d59d8e5866..2322bce762c8e5d5e5fae66177d84b60563ea6ae 100644 (file)
@@ -55,7 +55,7 @@ struct gpttmpl_table {
 
 #define GPTTMPL_PARAMETER_REVISION "Revision"
 #define GPTTMPL_PARAMETER_SIGNATURE "signature"
-#define GPTTMPL_VALUE_CHICAGO "$CHICAGO$" /* whatever this is good for... */
+#define GPTTMPL_VALUE_CHICAGO "\"$CHICAGO$\"" /* whatever this is good for... */
 #define GPTTMPL_PARAMETER_UNICODE "Unicode"
 
 static NTSTATUS gpttmpl_parse_header(struct gp_inifile_context *ini_ctx,