summaryrefslogtreecommitdiff
path: root/source3/services/svc_winreg.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-07-19 20:54:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:16 -0500
commitbdfeaf2bcfe2bf79a693f5381e3cb9c26833bb72 (patch)
tree1cbe6e68daa80b3b114b8eb63c88e528266ffd71 /source3/services/svc_winreg.c
parent5ac15bc63af91d39741e9f33ebb1eac2b44bc1b5 (diff)
downloadsamba-bdfeaf2bcfe2bf79a693f5381e3cb9c26833bb72.tar.gz
samba-bdfeaf2bcfe2bf79a693f5381e3cb9c26833bb72.tar.bz2
samba-bdfeaf2bcfe2bf79a693f5381e3cb9c26833bb72.zip
r17148: the wins service should not accept any controls so that a GUI can grey it out as not remotely manageable
(This used to be commit 859c51cf25a2bb80787a5060156f09c2f0142dfb)
Diffstat (limited to 'source3/services/svc_winreg.c')
-rw-r--r--source3/services/svc_winreg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/services/svc_winreg.c b/source3/services/svc_winreg.c
index 1bccee246e..8fa49d3c3b 100644
--- a/source3/services/svc_winreg.c
+++ b/source3/services/svc_winreg.c
@@ -46,6 +46,7 @@ static WERROR winreg_status( const char *service, SERVICE_STATUS *service_status
ZERO_STRUCTP( service_status );
service_status->type = 0x20;
+ service_status->controls_accepted = SVCCTL_ACCEPT_NONE;
service_status->state = SVCCTL_RUNNING;
return WERR_OK;