Hosts file change = errors with SMB

  • Thread starter Thread starter Ondrej Sevecek
  • Start date Start date
O

Ondrej Sevecek

Hello,
I have created static name-IP mapping into hosts file in Drivers/Etc. The
name can now be PINGed successfully.
When the IP is that of my own computer, when strying to
<START><Start><"\\namefromhosts", the computer cannot be found.
When the IP is that of some other computer, credentials dialog appear, but
then error message is shown with "Error: duplicate name exists on the
network" and the process fails.
The same error is returned from "NET USE \\thename"

Whats the problem?

thanks Ondra.
 
Do:

nbtstat -a remotename
or
nbtstat -A IPaddressOfThatMachine

Is there a <20> entry? If not, the server service is not running, and you
will not be able to map drives to the machine and what not.

Ray at work
 
the server is running there. connection with the correct name of the server
works. I want to create something such as "alias" through the hosts file.
 
I realize that the server is running. I'm talking about the server SERVICE
on the machine, the thing that is responsible for file sharing.

Ray at work
 
Many thanks foreply. I understood the difference between server and Server
and I have already solved it.
The registry on the Server must be modified to
HKLM\...\Services\...LanManServer\Param, DisableStrictNameChecking = DWORD =
1
The Server does not allow CNAME (as well as Host aliases) to be connected
by.
Sorry for trouble you with the query which I was certinly not able to
explain enough.

Nice day Ondra.
 
Hey, no problem. And thank you for this. I was not aware of this
DisableStrictNameChecking setting. I like that.

Ray at work
 
Back
Top