T The Triage ManualTechnical Guides for IT Emergencies
P2 · Active Directory

SMB File Shares Accessible via IP but Failing via FQDN — Kerberos SPN Mismatch or Duplicate Fault

Users receive 'Access Denied' or 'Network Path Not Found' when accessing SMB shares via FQDN (e.g., \\fileserver.domain.local\share) while direct IP access works normally. The root cause is Kerberos authentication hardening that rejects NTLM fallback when a Service Principal Name (SPN) mismatch or duplicate exists across AD objects. Resolution requires auditing for duplicate SPNs using setspn -X, removing stale registrations, and ensuring DNS CNAME aliases have corresponding HOST/ SPN attributes on the correct computer account.

Indicators

Likely causes

Diagnostic steps

  1. Run setspn -X from an administrative command prompt on a Domain Controller to audit the entire domain for duplicate SPNs
    Identifies all duplicate SPN registrations across AD objects — a duplicate matching the target file server name confirms the root cause
  2. Review setspn -X output for any HOST/, cifs/, or related SPNs that appear on more than one AD object for the affected file server name (e.g., HOST/fileserver, HOST/fileserver.domain.local)
    Pinpoints the exact duplicate SPN entries that are causing Kerberos KDC rejection and must be removed or reassigned
  3. Verify DNS records for the file server: confirm whether a CNAME alias is in use and check whether the corresponding computer account has HOST/ SPN attributes registered for that alias
    Determines if a CNAME without a matching HOST/ SPN is contributing to Kerberos authentication failure when clients resolve the alias
  4. Attempt to access the share by FQDN from a client workstation and simultaneously attempt access by IP to confirm the IP-vs-FQDN failure pattern holds
    Confirms the issue is specifically in the Kerberos authentication path (FQDN triggers Kerberos; IP triggers NTLM) and rules out other network or share permission causes
  5. Run 'setspn -L <computername>' against the file server computer account to enumerate all currently registered SPNs and cross-reference against the CNAME and DNS A records in use
    Provides a complete inventory of SPNs on the specific computer account to identify missing HOST/ entries for CNAME aliases or leftover stale entries from renames

Resolution path

Prevention

Tools

References

SMBKerberosActive DirectorySPNWindows Server 2019Windows Server 2022Windows Server 2025File SharesNTLMDNSCNAMEAuthenticationAccess DeniedsetspnEnterpriseL2L3