I have a Windows Server 2003 system on which passwordless access to local UNC paths is possible using the server's unqualified hostname or its IP address, but not via its FQDN -- even when the hosts file is used to map that FQDN directly to 127.0.0.1.

That is:

  • \\127.0.0.1\ - passwordless
  • \\myhost\ - passwordless
  • \\myhost.mydomain.com\ - brings up an authentication dialog

Unfortunately, I have a local application trying to resolve UNC paths including the host's FQDN.

I've tried resolving myhost.mydomain.com to 127.0.0.1 in both hosts and lmhosts, and calling ping myhost.mydomain.com at the command prompt gives the appearance that this resolution has taken effect; even so, attempting to open \\myhost.mydomain.com\ from Windows Explorer brings up a password prompt, while \\127.0.0.1\ does not.

The system is using an OpenDirectory server (Apple's Kerberos+LDAP directory service) for authentication.

link|improve this question
feedback

3 Answers

up vote 2 down vote accepted

KB#926642 describes a solution to this, which worked for me:

Add a multi-string value to the registry under the name HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0\BackConnectionHostNames including the hostname(s) or alias(es) which aren't working.

link|improve this answer
feedback

Try putting myhost.mydomain.com in the IE Trusted Sites (or mydomain.com).

You may also need to ensure that IE Trusted Sites is configured to use automatic logon with current user name and password.

link|improve this answer
Is the IE trusted site list used for Windows File Sharing, as opposed to web browsing? – Charles Duffy May 7 '10 at 3:14
Absolutely. Check out the lower right corner of your Windows Explorer window. It usually lists the applicable IE zone. – Greg Askew May 8 '10 at 18:42
feedback

Might be a silly question, but what does myhost.mydomain.com resolve to? 127.0.0.1 or the local network interface? Or something else altogether?

link|improve this answer
After adding a hosts entry forcing it to 127.0.0.1 (as mentioned in the question), that's exactly where it went to. – Charles Duffy May 7 '10 at 16:32
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.