Link to home
Start Free TrialLog in
Avatar of arminl
arminl

asked on

NT Server with 2 names

Hello experts,

recently I found an astonishing server where someone managed to assign the server two (!) NETBIOS names.

Net view \\name1 and net view \\name2 both reveal the same share list, and I can net use drives from the server with either name and always get the desired drive mappings. Convenient.

Technically spoken the server does own the NETBIOS names name1 <20> and name2 <20>.

Now I wonder how one managed to register name2 <20>.

Details:  no WINS, DNS, Hosts or LMHosts tables are involved. The server does have IP and IPX installed, but mainly IPX is used to communicate. I thought that probably the NET NAME command had been used, but could not find a way to make NET NAME register a name <20> entry (it does make <03> (Messenger) name registrations).

Who can tell me how the second name has been patched into the NETBIOS name table on that server?

Armin Linder
armin.linder@adlon.de
Avatar of carmine
carmine
Flag of United Kingdom of Great Britain and Northern Ireland image

This is called a NETBIOS name alias, and is basically how MS Cluster Server registers multiple NETBIOS Names.

To add an alias create the following reg key:

HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters\OptionalNames

Of type REG_MULTISZ

and put the alias names you require in there.  You need to stop/start the server service for this to take effect.

Mark
Avatar of arminl
arminl

ASKER

Life can be that easy ...

I found the key, and name2 is indeed present there. I guess you got it!

....Armin
Glad to help.  I've used this when implementing new servers, it allows the new server to have an alias of the old server.

This means the clients can continue to connect to the original servername (giving you an easy backout route if things go wrong), and after you've migrated all the users to the new servername you can simply drop the old alias.

Mark
PS, you can accept one of my comments as an answer if you wish.

Mark
ASKER CERTIFIED SOLUTION
Avatar of carmine
carmine
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of arminl

ASKER

points coming -- finally!