Microsoft Windows Vista Community Forums - Vistaheads
Driver Scanner 2009 - Free Scan Now



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

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

Net use with hostname fails, IP address works fine

microsoft.public.windows.vista.networking sharing



Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Reply
  #1 (permalink)  
Old 03-04-2008
Luc Kumps
 

Posts: n/a
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-04-2008
Robert L. \(MS-MVP\)
 

Posts: n/a
Re: 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" <NOkumpsSPAM@telenet.be> wrote in message
news:OtpnGEffIHA.4120@TK2MSFTNGP06.phx.gbl...
> 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
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-04-2008
Luc Kumps
 

Posts: n/a
Re: 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Internet Connection--LAN Works fine DanD microsoft.public.windows.vista.networking sharing 2 10-09-2007 23:56
works fine and then stops Rockchick microsoft.public.windows.vista.mail 5 10-02-2007 22:59
Media Centre works fine on xp but not on vista!! Ben microsoft.public.windows.vista.general 3 06-13-2007 20:32
can't send mail/incoming works fine Lori microsoft.public.windows.vista.mail 1 06-03-2007 17:26
Can't send mail/incoming works fine Lori microsoft.public.windows.vista.mail 2 06-03-2007 05:56


All times are GMT +1. The time now is 05:49.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119