diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-06-09 10:08:05 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-06-09 10:08:05 +0000 |
commit | 1630411d4061ebc9580a07655c0db4228679245a (patch) | |
tree | 7b816d616ed22e28420b31a61c2593d37c3d0236 /packet-smb-sidsnooping.c | |
parent | ecf87b705c2ffcf36a7c745958a72b25906ed3d4 (diff) | |
download | wireshark-1630411d4061ebc9580a07655c0db4228679245a.tar.gz wireshark-1630411d4061ebc9580a07655c0db4228679245a.tar.bz2 wireshark-1630411d4061ebc9580a07655c0db4228679245a.zip |
SID name mappings can now be presented in a table by tethereal
using the -z smb,sids command argument.
svn path=/trunk/; revision=7816
Diffstat (limited to 'packet-smb-sidsnooping.c')
-rw-r--r-- | packet-smb-sidsnooping.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/packet-smb-sidsnooping.c b/packet-smb-sidsnooping.c index 9300f15543..79a3eb3006 100644 --- a/packet-smb-sidsnooping.c +++ b/packet-smb-sidsnooping.c @@ -2,7 +2,7 @@ * Routines for snooping SID to name mappings * Copyright 2003, Ronnie Sahlberg * - * $Id: packet-smb-sidsnooping.c,v 1.8 2003/06/05 11:13:41 sahlberg Exp $ + * $Id: packet-smb-sidsnooping.c,v 1.9 2003/06/09 10:08:05 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -51,11 +51,7 @@ static int hf_samr_level = -1; -static GHashTable *sid_name_table = NULL; -typedef struct _sid_name { - char *sid; - char *name; -} sid_name; +GHashTable *sid_name_table = NULL; static GMemChunk *sid_name_chunk = NULL; static int sid_name_init_count = 200; @@ -173,7 +169,7 @@ samr_query_dispinfo(void *dummy _U_, packet_info *pinfo, epan_dissect_t *edt, vo return 0; } - if (!dcerpc_smb_fetch_pol(old_ctx, &pol_name, NULL, NULL, NULL)) { + if (!dcerpc_smb_fetch_pol(old_ctx, &pol_name, NULL, NULL, ri->call_data->req_frame)) { return 0; } |