Windows Server 2003 - passwordless access to \\myhost\ but not \\myhost.mydomain.net\

Posted by Charles Duffy on Server Fault See other posts from Server Fault or by Charles Duffy
Published on 2010-05-07T02:34:06Z Indexed on 2010/05/07 2:38 UTC
Read the original article Hit count: 279

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.

© Server Fault or respective owner

Related posts about Windows

Related posts about authentication