diff options
author | Günther Deschner <gd@samba.org> | 2008-02-04 22:16:21 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-05 09:39:25 +0100 |
commit | 0bffd59a4c6dc158a7f6efafaf189bf7f2f7397b (patch) | |
tree | f8c05acba85032fe080a31a6856e1a122b65ca8d /source3/rpc_parse/parse_samr.c | |
parent | 97ccb4f8a31cc74cce3566ec30aaad57de0bc894 (diff) | |
download | samba-0bffd59a4c6dc158a7f6efafaf189bf7f2f7397b.tar.gz samba-0bffd59a4c6dc158a7f6efafaf189bf7f2f7397b.tar.bz2 samba-0bffd59a4c6dc158a7f6efafaf189bf7f2f7397b.zip |
Remove unused marshalling for SAMR_CONNECT.
Guenther
(This used to be commit 2b1bc8ab68a0ed8fb77030d421618cf4a664f5e3)
Diffstat (limited to 'source3/rpc_parse/parse_samr.c')
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index cb9ec5e6f8..a1e7f63ba2 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -5924,77 +5924,6 @@ bool samr_io_r_set_userinfo2(const char *desc, SAMR_R_SET_USERINFO2 * r_u, } /******************************************************************* -inits a SAMR_Q_CONNECT structure. -********************************************************************/ - -void init_samr_q_connect(SAMR_Q_CONNECT * q_u, - char *srv_name, uint32 access_mask) -{ - DEBUG(5, ("init_samr_q_connect\n")); - - /* make PDC server name \\server */ - q_u->ptr_srv_name = (srv_name != NULL && *srv_name) ? 1 : 0; - init_unistr2(&q_u->uni_srv_name, srv_name, UNI_STR_TERMINATE); - - /* example values: 0x0000 0002 */ - q_u->access_mask = access_mask; -} - -/******************************************************************* -reads or writes a structure. -********************************************************************/ - -bool samr_io_q_connect(const char *desc, SAMR_Q_CONNECT * q_u, - prs_struct *ps, int depth) -{ - if (q_u == NULL) - return False; - - prs_debug(ps, depth, desc, "samr_io_q_connect"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!prs_uint32("ptr_srv_name", ps, depth, &q_u->ptr_srv_name)) - return False; - if(!smb_io_unistr2("", &q_u->uni_srv_name, q_u->ptr_srv_name, ps, depth)) - return False; - - if(!prs_align(ps)) - return False; - if(!prs_uint32("access_mask", ps, depth, &q_u->access_mask)) - return False; - - return True; -} - -/******************************************************************* -reads or writes a structure. -********************************************************************/ - -bool samr_io_r_connect(const char *desc, SAMR_R_CONNECT * r_u, - prs_struct *ps, int depth) -{ - if (r_u == NULL) - return False; - - prs_debug(ps, depth, desc, "samr_io_r_connect"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("connect_pol", &r_u->connect_pol, ps, depth)) - return False; - - if(!prs_ntstatus("status", ps, depth, &r_u->status)) - return False; - - return True; -} - -/******************************************************************* make a SAMR_ENC_PASSWD structure. ********************************************************************/ |