diff options
author | Günther Deschner <gd@samba.org> | 2008-02-15 22:38:29 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-15 22:38:29 +0100 |
commit | e3a975b7f3d6ceaf32bdc70963fd0af87e2ef1ff (patch) | |
tree | 6619644aae7fd410c00b7c107227b531d5f94ce8 /source3/rpc_parse | |
parent | 5bce07977a18cd6bfd4714030707d3b2643cd840 (diff) | |
download | samba-e3a975b7f3d6ceaf32bdc70963fd0af87e2ef1ff.tar.gz samba-e3a975b7f3d6ceaf32bdc70963fd0af87e2ef1ff.tar.bz2 samba-e3a975b7f3d6ceaf32bdc70963fd0af87e2ef1ff.zip |
Remove unused marshalling for NET_SAM_LOGOFF.
Guenther
(This used to be commit b419e7fa32ce34ee1ddde562223fe08f5d07a012)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_net.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c index 8677924d6a..b3a0997c7a 100644 --- a/source3/rpc_parse/parse_net.c +++ b/source3/rpc_parse/parse_net.c @@ -1358,51 +1358,3 @@ bool net_io_r_sam_logon_ex(const char *desc, NET_R_SAM_LOGON_EX *r_l, prs_struct return True; } - - -/******************************************************************* - Reads or writes a structure. -********************************************************************/ - -bool net_io_q_sam_logoff(const char *desc, NET_Q_SAM_LOGOFF *q_l, prs_struct *ps, int depth) -{ - if (q_l == NULL) - return False; - - prs_debug(ps, depth, desc, "net_io_q_sam_logoff"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_sam_info("", &q_l->sam_id, ps, depth)) /* domain SID */ - return False; - - return True; -} - -/******************************************************************* - Reads or writes a structure. -********************************************************************/ - -bool net_io_r_sam_logoff(const char *desc, NET_R_SAM_LOGOFF *r_l, prs_struct *ps, int depth) -{ - if (r_l == NULL) - return False; - - prs_debug(ps, depth, desc, "net_io_r_sam_logoff"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!prs_uint32("buffer_creds", ps, depth, &r_l->buffer_creds)) /* undocumented buffer pointer */ - return False; - if(!smb_io_cred("", &r_l->srv_creds, ps, depth)) /* server credentials. server time stamp appears to be ignored. */ - return False; - - if(!prs_ntstatus("status ", ps, depth, &r_l->status)) - return False; - - return True; -} |