diff options
author | Tim Potter <tpot@samba.org> | 2003-01-14 05:09:16 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-01-14 05:09:16 +0000 |
commit | a476a8b4c34542d8ddd39cf81e6b648bfb8bed89 (patch) | |
tree | 02f7dd3cb459ab323f844bd92addfe915e628c32 /packet-dcerpc-netlogon.c | |
parent | 6de6ff2fb81105e22516559f4b9270ff32e8510b (diff) | |
download | wireshark-a476a8b4c34542d8ddd39cf81e6b648bfb8bed89.tar.gz |
Add value_string for secure channel type used in ServerAuthenticate2.
svn path=/trunk/; revision=6920
Diffstat (limited to 'packet-dcerpc-netlogon.c')
-rw-r--r-- | packet-dcerpc-netlogon.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/packet-dcerpc-netlogon.c b/packet-dcerpc-netlogon.c index a68beb1263..15549823d4 100644 --- a/packet-dcerpc-netlogon.c +++ b/packet-dcerpc-netlogon.c @@ -1,9 +1,9 @@ /* packet-dcerpc-netlogon.c * Routines for SMB \\PIPE\\NETLOGON packet disassembly - * Copyright 2001, Tim Potter <tpot@samba.org> + * Copyright 2001,2003 Tim Potter <tpot@samba.org> * 2002 structure and command dissectors by Ronnie Sahlberg * - * $Id: packet-dcerpc-netlogon.c,v 1.64 2002/11/30 08:34:28 sahlberg Exp $ + * $Id: packet-dcerpc-netlogon.c,v 1.65 2003/01/14 05:09:16 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -6126,6 +6126,15 @@ static const value_string netlogon_opnum_vals[] = { { 0, NULL } }; +/* Secure channel types */ + +static const value_string sec_chan_type_vals[] = { + { SEC_CHAN_WKSTA, "Workstation" }, + { SEC_CHAN_DOMAIN, "Domain trust" }, + { SEC_CHAN_BDC, "Backup domain controller" }, + { 0, NULL } +}; + void proto_register_dcerpc_netlogon(void) { @@ -6501,8 +6510,8 @@ static hf_register_info hf[] = { NULL, 0x0, "Length of password history", HFILL }}, { &hf_netlogon_secure_channel_type, - { "Sec Chn Type", "netlogon.sec_chn_type", FT_UINT16, BASE_DEC, - NULL, 0x0, "Secure Channel Type", HFILL }}, + { "Sec Chan Type", "netlogon.sec_chan_type", FT_UINT16, BASE_DEC, + VALS(sec_chan_type_vals), 0x0, "Secure Channel Type", HFILL }}, { &hf_netlogon_restart_state, { "Restart State", "netlogon.restart_state", FT_UINT16, BASE_DEC, |