[PATCH] fix the build of group policy cses after init fn changes

Günther Deschner gd at samba.org
Mon Apr 24 11:28:59 UTC 2017


Hi,

the three group policy client side extensions (not built by default) did
not compile anymore after the recent init function signature changes.

Please review and push.

Thanks,
Guenther
-- 
Günther Deschner                    GPG-ID: 8EE11688
Red Hat                         gdeschner at redhat.com
Samba Team                              gd at samba.org
-------------- next part --------------
From 8307aaa2ed895b09729f5091f2e765ec02f12938 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd at samba.org>
Date: Mon, 24 Apr 2017 13:25:41 +0200
Subject: [PATCH] s3-libgpo: Fix the build of the group policy CSEs

Guenther

Signed-off-by: Guenther Deschner <gd at samba.org>
---
 source3/libgpo/gpext/registry.c | 2 +-
 source3/libgpo/gpext/scripts.c  | 2 +-
 source3/libgpo/gpext/security.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/source3/libgpo/gpext/registry.c b/source3/libgpo/gpext/registry.c
index a24485c..15b2204 100644
--- a/source3/libgpo/gpext/registry.c
+++ b/source3/libgpo/gpext/registry.c
@@ -407,7 +407,7 @@ static struct gp_extension_methods registry_methods = {
 /****************************************************************
 ****************************************************************/
 
-NTSTATUS gpext_registry_init(void)
+NTSTATUS gpext_init_registry(void)
 {
 	NTSTATUS status;
 
diff --git a/source3/libgpo/gpext/scripts.c b/source3/libgpo/gpext/scripts.c
index 7471fb8..36de4b3 100644
--- a/source3/libgpo/gpext/scripts.c
+++ b/source3/libgpo/gpext/scripts.c
@@ -462,7 +462,7 @@ static struct gp_extension_methods scripts_methods = {
 /****************************************************************
 ****************************************************************/
 
-NTSTATUS gpext_scripts_init(void)
+NTSTATUS gpext_init_scripts(void)
 {
 	NTSTATUS status;
 
diff --git a/source3/libgpo/gpext/security.c b/source3/libgpo/gpext/security.c
index dda58d3..3e9abd0 100644
--- a/source3/libgpo/gpext/security.c
+++ b/source3/libgpo/gpext/security.c
@@ -277,7 +277,7 @@ static struct gp_extension_methods security_methods = {
 /****************************************************************
 ****************************************************************/
 
-NTSTATUS gpext_security_init(void)
+NTSTATUS gpext_init_security(void)
 {
 	NTSTATUS status;
 
-- 
2.9.3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 201 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170424/6af52141/signature.sig>


More information about the samba-technical mailing list