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 cannot access SMB file shares using the server FQDN (e.g., \\fileserver.domain.local\share) and receive 'Access Denied' or 'Network path not found' errors, while direct IP access works normally. The root cause is enforced Kerberos authentication hardening that strictly rejects NTLM fallback when a Service Principal Name (SPN) mismatch or duplicate exists across Active Directory objects. Remediation requires auditing the domain for duplicate SPNs using setspn -X on a Domain Controller, then removing or correcting the duplicate entries. If DNS CNAMEs are in use, corresponding HOST/ SPN attributes must be explicitly registered on the target computer account.

Indicators

Likely causes

Diagnostic steps

  1. Open an administrative command prompt on a Domain Controller and run: setspn -X
    Audits the entire domain for duplicate SPN registrations, identifying any conflicting SPN entries associated with the target file server name
  2. Review the output of setspn -X and note any duplicate HOST/ or cifs/ SPNs that reference the file server's NetBIOS name or FQDN across more than one AD object
    Pinpoints which AD objects carry conflicting SPN registrations that cause Kerberos to fail when the client requests a service ticket for the file server FQDN
  3. Verify whether DNS CNAME records are in use for the file server by running: nslookup <fileserver-alias>
    Determines if CNAME aliases are contributing to the SPN mismatch, since Kerberos requires the SPN to match the canonical name, not the alias
  4. Have an affected user test both \\<IP>\share and \\fileserver.domain.local\share from their workstation
    Validates that the failure mode is specifically Kerberos/SPN-related (IP access triggers NTLM, FQDN access requires Kerberos), ruling out general network or share permission issues
  5. Check Windows Security event logs on both the client and file server for Event ID 4771 and 4769 around the time of access failures
    Provides additional evidence of Kerberos ticket failures and may reveal the specific SPN that cannot be resolved or is duplicated
  6. On the file server, run: setspn -L <FileServerComputerAccount>
    Lists all SPNs currently registered on the file server's computer account to verify expected entries exist

Resolution path

Prevention

Tools

References

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