Affected versions: CentOS Stream 10

📖 ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

realm join completes with errors or partial success, blocking domain logins via SSSD.

Environment & Reproduction

Common with time skew greater than five minutes, missing krb5-workstation, or DNS issues.

Root Cause Analysis

Kerberos pre-auth fails when clock skew exceeds tolerance or AD DNS records cannot be resolved.

Quick Triage

Validate time with chronyc tracking, DNS with dig SRV records, and AD discovery with realm discover.

Step-by-Step Diagnosis

Run: KRB5_TRACE=/dev/stderr realm join -U admin example.com; chronyc tracking; dig SRV _ldap._tcp.example.com.

Illustrative mockup for centos-stream-10 — cp237_diag
realm discover and KRB5_TRACE output — Illustrative mockup — Progressive Robot

Solution – Primary Fix

Sync time with AD DC, install adcli sssd-ad, and join with realm join –computer-ou=’OU=Linux’.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Illustrative mockup for centos-stream-10 — cp237_fix
Time sync and join with computer-ou — Illustrative mockup — Progressive Robot

Solution – Alternative Approaches

Use adcli preset-computer for pre-staged accounts when admin credentials cannot be used interactively.

Verification & Acceptance Criteria

id resolves and getent passwd returns the SSSD-provided identity.

Rollback Plan

realm leave to clean machine account and remove /etc/sssd/sssd.conf if rollback is required.

Prevention & Hardening

Document time sources and DNS forwarders required for AD, and monitor sssd journald output.

Related to GSSAPI SSH failures and sssd cache inconsistencies after schema changes.

Related tutorial: View the step-by-step tutorial for centos-stream-10.

View all centos-stream-10 tutorials on the Tutorials Hub →

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

realmd, adcli, and SSSD documentation on Red Hat customer portal.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.