diff options
author | Matthew Chapman <matty@samba.org> | 1999-03-18 09:36:43 +0000 |
---|---|---|
committer | Matthew Chapman <matty@samba.org> | 1999-03-18 09:36:43 +0000 |
commit | f7eaf17216c91c66719b2393c7a8716fc55e4e5f (patch) | |
tree | acf6cd8bf859203a497b46fb70af5b3bcb75d454 /source3/include | |
parent | eb82f27bd194f578ffa0557bdfb289e89a132e6b (diff) | |
download | samba-f7eaf17216c91c66719b2393c7a8716fc55e4e5f.tar.gz samba-f7eaf17216c91c66719b2393c7a8716fc55e4e5f.tar.bz2 samba-f7eaf17216c91c66719b2393c7a8716fc55e4e5f.zip |
Added SVC_START_SERVICE rpc. An NT PDC will attempt to start the NETLOGON
service on its BDC's prior to initiating SAM replication. For now just
return success.
(This used to be commit 113d03a38a34e5c4115dab59349078093bcd4888)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/include/rpc_svcctl.h | 22 |
2 files changed, 24 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 46dc35b2aa..e64a7a92aa 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2591,6 +2591,8 @@ void svc_io_q_open_service(char *desc, SVC_Q_OPEN_SERVICE *q_u, prs_struct *ps, void make_svc_r_open_service(SVC_R_OPEN_SERVICE *r_u, POLICY_HND *hnd, uint32 status) ; void svc_io_r_open_service(char *desc, SVC_R_OPEN_SERVICE *r_u, prs_struct *ps, int depth); +void svc_io_q_start_service(char *desc, SVC_Q_START_SERVICE *q_s, prs_struct *ps, int depth); +void svc_io_r_start_service(char *desc, SVC_R_START_SERVICE *r_s, prs_struct *ps, int depth); void make_svc_query_svc_cfg(QUERY_SERVICE_CONFIG *q_u, uint32 service_type, uint32 start_type, uint32 error_control, diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h index c32ba87ba9..8a2a771d64 100644 --- a/source3/include/rpc_svcctl.h +++ b/source3/include/rpc_svcctl.h @@ -31,6 +31,7 @@ #define SVC_QUERY_SVC_CONFIG 0x11 #define SVC_QUERY_DISP_NAME 0x14 #define SVC_OPEN_SERVICE 0x10 +#define SVC_START_SERVICE 0x13 #define SVC_CLOSE 0x00 @@ -72,6 +73,27 @@ typedef struct r_svc_open_service_info } SVC_R_OPEN_SERVICE; +#define MAX_SVC_ARGS 4 + +/* SVC_Q_START_SERVICE */ +typedef struct q_svc_start_service_info +{ + POLICY_HND pol; + + uint32 argc; + uint32 ptr_argv; + uint32 argc2; + UNISTR2 argv[MAX_SVC_ARGS]; + +} SVC_Q_START_SERVICE; + +/* SVC_R_START_SERVICE */ +typedef struct r_svc_start_service_info +{ + uint32 status; + +} SVC_R_START_SERVICE; + /* QUERY_SERVICE_CONFIG */ typedef struct query_service_config_info |