R codes in Samba wins.dat

Christopher R. Hertel crh at nts.umn.edu
Mon Mar 25 11:55:05 GMT 2002

First, yes the final field should be the flags field, and should probably 
map to the NAME_FLAGS field in the NODE STATUS RESPONSE message.
See:  http://ubiqx.org/cifs/rfc-draft/rfc1002.html#s4.2.18
and:  http://ubiqx.org/cifs/NetBIOS.html, section

There are several flags in that field.  My guess is that "R" stands for 
Active (?) but I'm not sure.  

Warning: Samba currently does not support multiple IPs per group entry
*except* for #1C group names.  In most cases, the only valid IP for a 
group name is

See:  http://ubiqx.org/cifs/NetBIOS.html, section 3.5.2.

Chris -)-----

> Claudio Shigueo Watanabe wrote:
> |>I want to known what is the R entries in the wins.dat. I search in all the
> |>web but I find just a e-mail that you send in the samba-technical mailing
> |>list.
> |>In your e-mail you explain the e4R and the 64R codes, but I like to know
> |>the other R codes like 4R and 44R. 
> |
> |wins.dat file is read when nmbd starts and write-back when nmbd stops.
> |So, if you modify wins.dat manually, first you should stop nmbd.
> |And then please add entries like:
> |
> |"SAMBA#1c" 0 e4R
> |           |                             ~~~ <-- means NetBIOS group name
> |           | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ <-- multiple IP addresses is
> |           |                                 seperated with a space
> |           +-- TTL = 0 means forever
> |
> |"DONAU#20" 0 64R
> |                           ~~~ <-- means NetBIOS unique name
> |       ~~ <-- suffix must be written with lower case.
> |
> |and restart nmbd.
> As far as I know, there are no documents.
> If you want to know more, please look at wins_write_database() in
> source/nmbd/nmbd_winsserver.c and search for NB_GROUP in
> source/include/nameserv.h 
> -----
> TAKAHASHI, Motonobu(monyo)         monyo at samba.org
> Samba Team - http://samba.org/     Samba-JP - http://www.samba.gr.jp/  
> JWNTUG - http://www.jwntug.or.jp/  Analog-JP - http://www.jp.analog.cx/
> MCSE(NT40,W2K), SCNA, CCNA, Turbo-CI

Christopher R. Hertel -)-----                   University of Minnesota
crh at nts.umn.edu              Networking and Telecommunications Services

    Ideals are like stars; you will not succeed in touching them
    with your hands...you choose them as your guides, and following
    them you will reach your destiny.  --Carl Schultz

More information about the samba-technical mailing list