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
5.1.3.2
The names.cfg file
The
names.cfg
file is used to specify static mappings of NetBIOS names to IP addresses,
thereby allowing name resolution to cross routers. The function of the
names.cfg
file is similar
to the LMHOSTS file known from Microsoft networking components, although the format
differs.
After NetBIOS installation, the
/var/opt/nbrfc/conf
directory contains a sample file called
names.sam
which can be used as a template. Use the following rules to create and modify
entries in the
names.cfg
file:
Lines with a number sign (#) is the first column are treated as comment; empty lines are
ignored.
Each entry must be on a separate line and follow the syntax:
<NetBIOS_name> <IP_address> UN|GR [#Ext1[,EXT2 ...]]
where
<NetBIOS_name>
is a name consisting of up to 15 characters (case is ignored;
internally the name is converted to uppercase letters and
padded with spaces),
<IP_address>
is given in dotted decimal notation,
UN or GR
denotes whether the name is a unique name (“UN”: one owner)
or a group name (“GR”: multiple owners),
[#Ext1[,Ext2 ...]]
is an optional list of name extensions (16th Byte of NetBIOS
name) given by hexadecimal values. For each name extension
in the list one name is created in the internal name table. If not
given, the list defaults to
00,03,20
for UNique names
and
1C,00
for GRoup names.