diff options
author | Luke Leighton <lkcl@samba.org> | 1999-10-31 04:11:17 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-10-31 04:11:17 +0000 |
commit | dbda98047df356cb854176982db156971d19466a (patch) | |
tree | 6ebfa9d20ccae8480e1ec65759aeb1ec14c13898 /source3/rpc_parse/parse_svc.c | |
parent | e7b5412943f5b558a8b34645e376c53a39b079a1 (diff) | |
download | samba-dbda98047df356cb854176982db156971d19466a.tar.gz samba-dbda98047df356cb854176982db156971d19466a.tar.bz2 samba-dbda98047df356cb854176982db156971d19466a.zip |
added svcinfo <service name> command.
(This used to be commit c243231d8596a732aba69179ff8f3882e7118297)
Diffstat (limited to 'source3/rpc_parse/parse_svc.c')
-rw-r--r-- | source3/rpc_parse/parse_svc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_svc.c b/source3/rpc_parse/parse_svc.c index 6b1155a90b..43594329b5 100644 --- a/source3/rpc_parse/parse_svc.c +++ b/source3/rpc_parse/parse_svc.c @@ -108,7 +108,7 @@ BOOL svc_io_r_open_sc_man(char *desc, SVC_R_OPEN_SC_MAN *r_u, prs_struct *ps, i ********************************************************************/ BOOL make_svc_q_open_service(SVC_Q_OPEN_SERVICE *q_u, POLICY_HND *hnd, - char *server, + const char *server, uint32 des_access) { DEBUG(5,("make_svc_q_open_service\n")); @@ -209,6 +209,7 @@ BOOL svc_io_q_start_service(char *desc, SVC_Q_START_SERVICE *q_s, prs_struct *ps for (i = 0; i < q_s->argc2; i++) { smb_io_unistr2("", &(q_s->argv[i]), 1, ps, depth); + prs_align(ps); } } @@ -396,6 +397,8 @@ BOOL svc_io_r_enum_svcs_status(char *desc, SVC_R_ENUM_SVCS_STATUS *svc, prs_stru buf_offset = ps->offset; ps->offset = buf_offset + svc->buf_size; + prs_align(ps); + prs_uint32("more_buf_size", ps, depth, &(svc->more_buf_size)); prs_uint32("num_svcs", ps, depth, &(svc->num_svcs)); smb_io_enum_hnd("resume_hnd", &(svc->resume_hnd), ps, depth); @@ -508,6 +511,8 @@ BOOL svc_io_r_enum_svcs_status(char *desc, SVC_R_ENUM_SVCS_STATUS *svc, prs_stru ps->offset = srvc_offset; + prs_align(ps); + prs_uint32("more_buf_size", ps, depth, &(svc->more_buf_size)); prs_uint32("num_svcs", ps, depth, &(svc->num_svcs)); smb_io_enum_hnd("resume_hnd", &(svc->resume_hnd), ps, depth); |