diff options
author | Tim Potter <tpot@samba.org> | 2004-06-04 00:05:56 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2004-06-04 00:05:56 +0000 |
commit | 3335e6d7a727f91cfd74cc2507550489fd21ec7b (patch) | |
tree | e8ab6106fc0b2bb7939febf2795b50c85b820a34 | |
parent | 2e382316c486fdbf53edd7c2bc9bd79a934ad796 (diff) | |
download | wireshark-3335e6d7a727f91cfd74cc2507550489fd21ec7b.tar.gz wireshark-3335e6d7a727f91cfd74cc2507550489fd21ec7b.tar.bz2 wireshark-3335e6d7a727f91cfd74cc2507550489fd21ec7b.zip |
Fix bug to do with renaming lsa.domain_sid to nt.domain_sid to get
sid snooping working again.
svn path=/trunk/; revision=11098
-rw-r--r-- | packet-smb-sidsnooping.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packet-smb-sidsnooping.c b/packet-smb-sidsnooping.c index 20ebc3f2f7..75310ec79b 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.11 2004/05/07 12:29:03 tpot Exp $ + * $Id: packet-smb-sidsnooping.c,v 1.12 2004/06/04 00:05:56 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -43,7 +43,7 @@ static int hf_lsa = -1; static int hf_lsa_info_level = -1; static int hf_lsa_opnum = -1; static int hf_lsa_domain = -1; -static int hf_lsa_domain_sid = -1; +static int hf_nt_domain_sid = -1; static int hf_samr_hnd = -1; static int hf_samr_rid = -1; static int hf_samr_acct_name = -1; @@ -250,7 +250,7 @@ lsa_policy_information(void *dummy _U_, packet_info *pinfo _U_, epan_dissect_t * fi=gp->pdata[0]; domain=fi->value.value.string; - gp=proto_get_finfo_ptr_array(edt->tree, hf_lsa_domain_sid); + gp=proto_get_finfo_ptr_array(edt->tree, hf_nt_domain_sid); if(!gp || gp->len!=1){ return 0; } @@ -384,9 +384,9 @@ sid_snooping_init(void) hf_lsa_opnum=hfi->id; } - hfi=proto_registrar_get_byname("lsa.domain_sid"); + hfi=proto_registrar_get_byname("nt.domain_sid"); if(hfi){ - hf_lsa_domain_sid=hfi->id; + hf_nt_domain_sid=hfi->id; } hfi=proto_registrar_get_byname("lsa.domain"); @@ -418,7 +418,7 @@ sid_snooping_init(void) - error_string=register_tap_listener("dcerpc", lsa_policy_information, "lsa.policy_information and ( lsa.info.level or lsa.domain or lsa.domain_sid )", NULL, lsa_policy_information, NULL); + error_string=register_tap_listener("dcerpc", lsa_policy_information, "lsa.policy_information and ( lsa.info.level or lsa.domain or nt.domain_sid )", NULL, lsa_policy_information, NULL); if(error_string){ /* error, we failed to attach to the tap. clean up */ |