Cannot access network share by name

PentadSupport
PentadSupport used Ask the Experts™
on
Hello,

I am connected to a network via PPTP VPN and I cannot access the file server by name. I can however ping the name and it resolves just fine. I am trying to access \\servername but I get the error "The user name could not be found". I can access the share by IP address. My computer is not a member of the same domain, but I thought I should be able to enter my username and password when prompted but I am not even getting that prompt.

Thank you.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Mike ThomasConsultant
Top Expert 2010

Commented:
Is there any type of trust relationship configured between the domains by chance? Also you may very well find that if you log onto to your machine using a local machine account rather than your domain account you will get prompted for logon.

I am very interested to know how you get on as the exact same thing happened to me yesterday.

Author

Commented:
You're right. I can connect when I log on as a local user. There is no domain trust but if that were the problem, shouldn't it also effect accessing the server by IP?
Mike ThomasConsultant
Top Expert 2010

Commented:
To be honest I have yet to get my head arround it, you would think it would be the same though as you say. I guess it has something to do with the way credentials are passed between domains with either no trust or a limited trust, but why it may affect accesing a share via name rather than IP is still a mystery to me.

Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

Mike ThomasConsultant
Top Expert 2010

Commented:
Just a thought can you access it ok by typing \\servername.domain.com?

Author

Commented:
I tried that. I cannot. I'm sure that some username is just saved somewhere but I can't find anywhere to remove it.

Author

Commented:
Nevermind. I tried logging in with a new domain user but still had the same problem. Looks like you're right. It must have something to do with the lack of a trust. I wonder if there is a way to specify the user to connect with. But strange that it is only by name.
Ok. I think I found the answer. I connected a network drive using different credentials. After disconnecting the drive, I was still able to connect. I haven't restarted, but I think that it now holds the correct username. When I went to specify the credentials, it had the username without the domain already there. Either way. That was enough of an answer for me.
Mike ThomasConsultant
Top Expert 2010

Commented:
Those credentials are cached and will be lost upon reboot or if the session disconnects server side.

Author

Commented:
I was thinking that maybe the username that was there by default will be replaced with the new one. I know that the password will not be saved.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial