name_type values in struct nmb_name

Gerald (Jerry) Carter jerry at samba.org
Tue Aug 27 05:15:00 GMT 2002


On Tue, 27 Aug 2002, Tom Alsberg wrote:

> Hi there.
> Sorry if I missed a few things, I am not yet experienced and
> understanding enough of all the details in that mess - CIFS.
> 
> A question I have now - in name query requests, there is in the struct
> nmb_name a field/member:
>   unsigned int name_type;
> Assumably this indicates something about the type/purpose of
> request/name being resolved, and type of reply requested.
> 
> What are those types? I mean, what valid values can the name_type
> field have, and what are their meanings? Is there some table of the
> possible values / name types somewhere? Or are they defined in some
> enum or struct (which I could not seem to find) - then where?

Resource byte (e.g. 0x20 - server resource point, 0x1b - domain 
master browser, 0x1c - logon server, etc...)







cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--




More information about the samba-technical mailing list