Configuring Advanced Server for UNIX
Configuring NetBIOS
Product Manual
U7613-J-Z815-6-76
©
S
iem
e
n
s
N
ix
dor
f
In
fo
rm
at
io
n
s
s
y
s
te
m
e
A
G
1
9
9
5
P
fad
: D:
\O
7
613
e6
\u
761
3e
.k
05
NBRFCSTATBCAST
default: 0, 0 or 1
NBRFCWINSREG
default: 1, 0 or 1
NBRFCPRELOAD
default: 0, 0 or 1
These parameters control the NetBIOS name resolution. As of Advanced Server for UNIX
NetBIOS 4.0 the default name resolution algorithm changed:
NBRFCSTATBCAST old: 1
new: 0
If this parameter is set to 1, NetBIOS responds with static names to clients that queried by
broadcasts. This resembles a WINS Proxy using only cached names (not WINS names) to
respond to broadcast name queries. Normally, name responses are only returned – e.g. by
a WINS Server – if the client queried with a unicast datagram (like a WINS client normally
does). However, for older clients this behavior might be useful, e.g. when static names from
a
names.cfg
are used to get the functionality of a “static WINS”. In WINS environments, this
parameter should be 0.
NBRFCWINSREG
old: 0 new: 1
If this parameter is set to 0, NetBIOS uses WINS servers configured in the
wins.cfg
file only
for name queries. If this parameter is set to 1, NetBIOS is able to fully act as a WINS client.
It does not only name queries, but also registers its local NetBIOS names with a WINS
server and does name refreshes and name releases. To configure an Advanced Server
computer as a WINS client, set this parameter to 1, and configure primary and secondary
WINS server in the
wins.cfg
file.
NBRFCPRELOAD
old: 1 new: 0
This parameter determines the search order for name resolution. If set to 1, NetBIOS
searches the internal name table (containing local names, a name cache consisting of
mappings from recently received NetBIOS datagrams and a list of static mappings from a
names.cfg
file) before trying broadcast name resolution. If the parameter is set to 0,
NetBIOS does a lookup in this name table only as a last resort, if all other methods (WINS,
broadcasts) failed. In WINS environments, set this parameter to 0 to prevent old or incon-
sistent name mappings being preferred over WINS names.
As a general rule, set all three parameters to their “old” values if you want name resolution
to be done in the old way (broadcasts, LMHOSTS/names.cfg). Set the parameters to their
“new” values if you want name resolution to be done mostly by WINS. The latter is recom-
mended and is the default.
To change the behavior of the NetBIOS kernel components:
Ê
Change the tuning variables described above using the
idtune(1M)
command.
Ê
Build a new kernel using the
idbuild(1M)
command.
Ê
Reboot the machine using the
shutdown(1M)
command.