diff options
author | Günther Deschner <gd@samba.org> | 2008-02-11 20:31:34 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-11 20:49:50 +0100 |
commit | a473d10915002b586a4c0bce928a3fbf78523b09 (patch) | |
tree | 76fafe2b7cf7f50b74265dd1ce99c1fa0ae336dd /source3/rpc_parse | |
parent | e917a8a94a985154e86b792924246cdfcc527e0a (diff) | |
download | samba-a473d10915002b586a4c0bce928a3fbf78523b09.tar.gz samba-a473d10915002b586a4c0bce928a3fbf78523b09.tar.bz2 samba-a473d10915002b586a4c0bce928a3fbf78523b09.zip |
Remove unused marshalling for LSA_UNK_GET_CONNUSER.
Guenther
(This used to be commit 5550c5c387ad66ffe8532e669b6155a28c6e54d1)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_lsa.c | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c index ded4b7a3a7..12dd6e126b 100644 --- a/source3/rpc_parse/parse_lsa.c +++ b/source3/rpc_parse/parse_lsa.c @@ -1496,79 +1496,6 @@ bool lsa_io_r_enum_accounts(const char *desc, LSA_R_ENUM_ACCOUNTS *out, prs_stru } -/******************************************************************* - Reads or writes an LSA_Q_UNK_GET_CONNUSER structure. -********************************************************************/ - -bool lsa_io_q_unk_get_connuser(const char *desc, LSA_Q_UNK_GET_CONNUSER *in, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, "lsa_io_q_unk_get_connuser"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!prs_uint32("ptr_srvname", ps, depth, &in->ptr_srvname)) - return False; - - if(!smb_io_unistr2("uni2_srvname", &in->uni2_srvname, in->ptr_srvname, ps, depth)) /* server name to be looked up */ - return False; - - if (!prs_align(ps)) - return False; - - if(!prs_uint32("unk1", ps, depth, &in->unk1)) - return False; - if(!prs_uint32("unk2", ps, depth, &in->unk2)) - return False; - if(!prs_uint32("unk3", ps, depth, &in->unk3)) - return False; - - /* Don't bother to read or write at present... */ - return True; -} - -/******************************************************************* - Reads or writes an LSA_R_UNK_GET_CONNUSER structure. -********************************************************************/ - -bool lsa_io_r_unk_get_connuser(const char *desc, LSA_R_UNK_GET_CONNUSER *out, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, "lsa_io_r_unk_get_connuser"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!prs_uint32("ptr_user_name", ps, depth, &out->ptr_user_name)) - return False; - if(!smb_io_unihdr("hdr_user_name", &out->hdr_user_name, ps, depth)) - return False; - if(!smb_io_unistr2("uni2_user_name", &out->uni2_user_name, out->ptr_user_name, ps, depth)) - return False; - - if (!prs_align(ps)) - return False; - - if(!prs_uint32("unk1", ps, depth, &out->unk1)) - return False; - - if(!prs_uint32("ptr_dom_name", ps, depth, &out->ptr_dom_name)) - return False; - if(!smb_io_unihdr("hdr_dom_name", &out->hdr_dom_name, ps, depth)) - return False; - if(!smb_io_unistr2("uni2_dom_name", &out->uni2_dom_name, out->ptr_dom_name, ps, depth)) - return False; - - if (!prs_align(ps)) - return False; - - if(!prs_ntstatus("status", ps, depth, &out->status)) - return False; - - return True; -} - void init_lsa_q_enum_privsaccount(LSA_Q_ENUMPRIVSACCOUNT *trn, POLICY_HND *hnd) { memcpy(&trn->pol, hnd, sizeof(trn->pol)); |