From 96565db5f66f791968ed354fc8f39464ff0a7e5a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 31 Jan 2011 16:40:33 +0100 Subject: s3-services: Migrated svcctl registry functions to winreg. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a bigger commit. It moves the relevant function to svc_winreg_glue. We need to use them in the same commit else we have problems with prototypes in proto.h. Signed-off-by: Günther Deschner --- source3/rpc_server/srv_ntsvcs_nt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/rpc_server/srv_ntsvcs_nt.c') diff --git a/source3/rpc_server/srv_ntsvcs_nt.c b/source3/rpc_server/srv_ntsvcs_nt.c index a948b86c21..4933cb31a5 100644 --- a/source3/rpc_server/srv_ntsvcs_nt.c +++ b/source3/rpc_server/srv_ntsvcs_nt.c @@ -21,6 +21,7 @@ #include "includes.h" #include "../librpc/gen_ndr/srv_ntsvcs.h" +#include "services/svc_winreg_glue.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_RPC_SRV @@ -142,7 +143,10 @@ WERROR _PNP_GetDeviceRegProp(struct pipes_struct *p, mem_ctx = talloc_stackframe(); - result = svcctl_lookup_dispname(mem_ctx, ptr, p->server_info->ptok); + result = svcctl_lookup_dispname(mem_ctx, + p->msg_ctx, + p->server_info, + ptr); if (result == NULL) { return WERR_GENERAL_FAILURE; } -- cgit