From 899bc3a07df4ce1f77efc1abce7c3a2e855069e5 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 15 Jun 2005 03:10:36 +0000 Subject: r7603: * fix a bug in the SERVICE_ALL_ACCESS security mask * add calls to start and stop a service (to be filled in by the backend routines in services/svc_*.c (This used to be commit 793d28a946d83beb2576c5c8ce808d32c71c880a) --- source3/include/rpc_secdes.h | 3 ++- source3/include/rpc_svcctl.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/rpc_secdes.h b/source3/include/rpc_secdes.h index fe95706d03..a14caf36c1 100644 --- a/source3/include/rpc_secdes.h +++ b/source3/include/rpc_secdes.h @@ -518,7 +518,8 @@ typedef struct standard_mapping { #define SERVICE_ALL_ACCESS \ ( STANDARD_RIGHTS_REQUIRED_ACCESS | \ SERVICE_READ_ACCESS | \ - SERVICE_EXECUTE_ACCESS ) + SERVICE_EXECUTE_ACCESS | \ + SC_RIGHT_SVC_CHANGE_CONFIG ) diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h index ede5d65565..8ce2cbe404 100644 --- a/source3/include/rpc_svcctl.h +++ b/source3/include/rpc_svcctl.h @@ -204,7 +204,7 @@ typedef struct Service_info_struct { typedef struct { /* functions for enumerating subkeys and values */ - WERROR (*stop_service)( void ); + WERROR (*stop_service)( SERVICE_STATUS *status ); WERROR (*start_service) ( void ); WERROR (*service_status)( SERVICE_STATUS *status ); } SERVICE_CONTROL_OPS; -- cgit