2 /var/opt/nbrfc/bin/mv_names, 3 /var/opt/nbrfc/bin/names2lm, Tools for special tasks tools for netbios – Siemens Unix V4.0 User Manual

Page 150: Nbrfc, File is copied to the, Directory during removal of an old nbrfc

Advertising
background image

Tools for special tasks

Tools for 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

07

7.2.2

/var/opt/nbrfc/bin/mv_names

The

mv_names

command is used during an update installation of the

nbrfc

package to

convert the configuration of the name table. The NetBIOS name mappings contained in the

[

NBRFC

]

section of an old style

nbrfc.cfg

configuration file (used by NetBIOS versions

<=3.5A) are written to the

names.cfg

file. The script is invoked automatically by the instal-

lation program, but it can also be used manually.

Syntax:

mv_names [ <pathname> ]

Parameters:

pathname The path name of the file which should be used to extract name mappings. If

<pathname> is not given

/var/opt/nbrfc/nbrfc.cfg

is used by default.

The

/var/opt/nbrfc/nbrfc.cfg

file is copied to the

/

tmp

directory during removal of an

old

nbrfc

package. If you have a copy of this file, you can invoke this command at

any time in order to convert the name table.

Sample names.cfg file:

7.2.3

/var/opt/nbrfc/bin/names2lm

The

names2lm

command is used to convert a file containing NetBIOS-name-to-IP-address

mappings in

names.cfg

-format into the format of an LMHOSTS file usually used by Microsoft

networking components. LMHOSTS format is needed to import static mappings into a
WINS database. The command is invoked automatically during installation - it creates the
file

names.imp

-, but it can also be used manually at any time.

Syntax:

names2lm -d

names2lm <names_file> <lmhosts_file>

SERVER1 144.145.111.71 UN #20,03,00
CLIENT1 144.145.123.5

UN #20,03,00

i

Advertising