Ethereal-dev: Re: [Ethereal-dev] PATCH: netbios address type for kerberos

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 29 Jul 2002 23:33:27 -0700
On Sun, Jul 28, 2002 at 08:50:41PM -0400, Jim McDonough wrote:
> This patch adds recognition of the netbios address type (0x14) in kerberos
> packets:

	...

> +             case KRB5_ADDR_NETBIOS:
> +               proto_tree_add_text(address_tree, asn1p->tvb, tmp_pos2,
> +                             str_len, "Value: %s", str);
> +               break;

Is the string a NetBIOS name, which usually has up to 15 characters of
name and 1 byte of name type?

If so, you might want to use "process_netbios_name()" (declared in
"packet-netbios.h", defined in "packet-netbios.c") to split it into the
15-character name and the 1-byte name type, and display them separately,
as well as perhaps using "netbios_name_type_descr()" to convert the name
type to a text description.