Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

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.

share|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
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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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