A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

Net use with hostname fails, IP address works fine



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 4th 08, 11:12 AM posted to microsoft.public.windows.vista.networking_sharing
Luc Kumps
external usenet poster
 
Posts: 2
Default Net use with hostname fails, IP address works fine

Vista Business standalone machine
Share named "SHAR" is defined
IP address of machine = 192.168.2.132
Name of computer=USERPC

HOSTS file contains
192.168.2.132 bsserver

These commands work:
net use L: \\localhost\SHAR
net use L: \\192.168.2.132\SHAR

This command fails (after prompting for the user/password):
net use L: \\bsserver\SHAR
System error 86
The specified network password is not correct

The same experiment on Windows XP yields "Error 1326 - unknown user name of
bad password"...
In both cases I can ping bsserver, so name resolution works.

Any ideas?

TIA,

Luc K

  #2 (permalink)  
Old March 4th 08, 01:31 PM posted to microsoft.public.windows.vista.networking_sharing
Robert L. \(MS-MVP\)[_475_]
external usenet poster
 
Posts: 1
Default Net use with hostname fails, IP address works fine

\\localhost\SHAR and \\bsserver\SHAR are different if you do these command
in a remote computer. Post back back with the result of this command ping -a
192.168.2.132.

--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com


"Luc Kumps" wrote in message
...
Vista Business standalone machine
Share named "SHAR" is defined
IP address of machine = 192.168.2.132
Name of computer=USERPC

HOSTS file contains
192.168.2.132 bsserver

These commands work:
net use L: \\localhost\SHAR
net use L: \\192.168.2.132\SHAR

This command fails (after prompting for the user/password):
net use L: \\bsserver\SHAR
System error 86
The specified network password is not correct

The same experiment on Windows XP yields "Error 1326 - unknown user name
of bad password"...
In both cases I can ping bsserver, so name resolution works.

Any ideas?

TIA,

Luc K


  #3 (permalink)  
Old March 4th 08, 01:44 PM posted to microsoft.public.windows.vista.networking_sharing
Luc Kumps
external usenet poster
 
Posts: 2
Default Net use with hostname fails, IP address works fine

Thanks for your assistance!

\\localhost\SHAR and \\bsserver\SHAR are different if you do these command
in a remote computer.


I don't do it on a remote computer, I do it LOCALLY.
The IP adress of the computer on which I'm doing this is 192.168.2.132,
which is defined to correspond with BSSERVER in the HOSTS file.

Post back back with the result of this command ping -a 192.168.2.132.


It says
Pinging bsserver" [192.168.2.132] with 32 bytes of data:"

As no network traffic is involved (I'm doing this on a *single* machine),
response time is 1ms.

Are you able to connect to a share on your LOCAL computer, using a host name
which is NOT the Computer Name, but which was defined in HOSTS to correspond
to the IP address of the local system?

Luc K

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.