diff options
author | Günther Deschner <gd@samba.org> | 2009-03-25 23:09:52 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-04-15 09:07:39 +0200 |
commit | b3484cf3db005ce7bef82b217a140a99c870ed4c (patch) | |
tree | 6749a590f4ef68590ec794e2d9bd52584afff570 /source3/rpc_parse | |
parent | 2fe88988310426a5bb643b5ac2a95f2b91d0fa3c (diff) | |
download | samba-b3484cf3db005ce7bef82b217a140a99c870ed4c.tar.gz |
s3-rpc_parse: remove unused smb_io_domsid().
Guenther
(cherry picked from commit c86df62b4a51b2813104aece8b3813b1806aeb22)
(cherry picked from commit 62923f9be593d8c7cdcb79c56b9f2c0c36e5dbdd)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_misc.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c index 8b4135a1e89..ffbd67befe8 100644 --- a/source3/rpc_parse/parse_misc.c +++ b/source3/rpc_parse/parse_misc.c @@ -101,44 +101,6 @@ bool make_systemtime(SYSTEMTIME *systime, struct tm *unixtime) } /******************************************************************* - Reads or writes a DOM_SID structure. -********************************************************************/ - -bool smb_io_dom_sid(const char *desc, DOM_SID *sid, prs_struct *ps, int depth) -{ - int i; - - if (sid == NULL) - return False; - - prs_debug(ps, depth, desc, "smb_io_dom_sid"); - depth++; - - if(!prs_uint8 ("sid_rev_num", ps, depth, &sid->sid_rev_num)) - return False; - - if(!prs_uint8 ("num_auths ", ps, depth, (uint8 *)&sid->num_auths)) - return False; - - for (i = 0; i < 6; i++) - { - fstring tmp; - slprintf(tmp, sizeof(tmp) - 1, "id_auth[%d] ", i); - if(!prs_uint8 (tmp, ps, depth, &sid->id_auth[i])) - return False; - } - - /* oops! XXXX should really issue a warning here... */ - if (sid->num_auths > MAXSUBAUTHS) - sid->num_auths = MAXSUBAUTHS; - - if(!prs_uint32s(False, "sub_auths ", ps, depth, sid->sub_auths, sid->num_auths)) - return False; - - return True; -} - -/******************************************************************* Reads or writes a struct GUID ********************************************************************/ |