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
Occasionally it may be helpful to be able to dynamically add and delete certain NetBIOS
names from the internal name tables without reloading the complete
names.cfg
file. This can
be accomplished by the
addname
and
delname
commands:
The
addname
command dynamically adds one or more NetBIOS names to the local name
table of NetBIOS.
Syntax:
/var/opt/nbrfc/bin/addname <NetBIOS name> <IP address> UN | GR [Ext1[ Ext2 ...]]
Options:
All options correspond directly to the syntax of the
names.cfg
file (see section
“The
names.cfg file“
). The only exception is that the list of NetBIOS name extensions is
separated by blanks and does not start with a number sign (#).
Example:
/var/opt/nbrfc/bin/addname TRUSTEDDOM.DOM 144.145.47.101 UN 1B
Name mappings added with the
addname
command do no longer exist after
NetBIOS is restarted. Use the
names.cfg
file if you want to establish permanent
name mappings. Please note that the number of names that can be stored in the
local name table depends on the NBMAXNAMES parameter.
The
delname
command deletes one or more NetBIOS name from the local name table.
Syntax:
/var/opt/nbrfc/bin/delname <index1> [ <index2> ...]
Parameters:
<index1> [ <index2> ...]
To specify the NetBIOS names to be deleted, first use the internal
nbrfcdiag -n
command to
get a listing of the local name table. Use the internal index from the first column of this list
as parameters to the
delname
command.
Note that while the internal
nbrfcdiag -n
command lists both dynamic and static names, the
delname
command can only be used to delete static names (those listed as STATIC).
i