diff options
author | Gerald Carter <jerry@samba.org> | 2005-12-11 04:21:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:47 -0500 |
commit | a48955306705ac7f045e3726d7097900550bebe3 (patch) | |
tree | 75e4c9f289256f9553f947c76602aba9f1dd7553 /source3/include/rpc_svcctl.h | |
parent | 1e0684678eb1851735c9a3321837ad19ea4aba68 (diff) | |
download | samba-a48955306705ac7f045e3726d7097900550bebe3.tar.gz |
r12173: doing some service control work
* Add a few new error codes for disabled services
* dump some more details about service status in 'net rpc service'
* disable the WINS and NetLogon services if not configured in smb.conf
Still trying to figure out how to disable the start button
on the NetLogon and WINS services.
(This used to be commit c0f54eeebc84ec9fab63c5b105511762bcc136be)
Diffstat (limited to 'source3/include/rpc_svcctl.h')
-rw-r--r-- | source3/include/rpc_svcctl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h index f5ad2afa1c7..4a058999a38 100644 --- a/source3/include/rpc_svcctl.h +++ b/source3/include/rpc_svcctl.h @@ -69,6 +69,7 @@ /* SERVER_STATUS - ControlAccepted */ +#define SVCCTL_ACCEPT_NONE 0x00000000 #define SVCCTL_ACCEPT_STOP 0x00000001 #define SVCCTL_ACCEPT_PAUSE_CONTINUE 0x00000002 #define SVCCTL_ACCEPT_SHUTDOWN 0x00000004 @@ -126,7 +127,7 @@ typedef struct { uint32 type; uint32 state; uint32 controls_accepted; - uint32 win32_exit_code; + WERROR win32_exit_code; uint32 service_exit_code; uint32 check_point; uint32 wait_hint; |