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.
and: http://ubiqx.org/cifs/NetBIOS.html, section 126.96.36.199.1.
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 255.255.255.255.
See: http://ubiqx.org/cifs/NetBIOS.html, section 3.5.2.
> 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
> |>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 192.168.10.67 192.168.10.43 e4R
> | | ~~~ <-- means NetBIOS group name
> | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ <-- multiple IP addresses is
> | | seperated with a space
> | +-- TTL = 0 means forever
> |"DONAU#20" 0 192.168.10.67 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
> 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