Realm join command fails with the Error "realm no such realm found"

Solution Verified - Updated -

Issue

  • Realm join command fails with below error.
realm no such realm found
  • realm discover command failed with the below error.
See: journalctl REALMD_OPERATION=r6604.6960
realm: No default realm discovered
  • Journalctl revealed the following error messages concerning Active Directory domain ad.example.com.
sl.example.com realmd[6993]: Using 'r6940.6990' operation for method 'Discover' invocation on 'org.freedesktop.realmd.Provider' interface
sl.example.com realmd[6993]: Registered cancellable for operation 'r6940.6990'
sl.example.com realmd[6993]:  * Resolving: _ldap._tcp.ad.example.com
sl.example.com realmd[6993]:  * Resolving: _ldap._tcp.ad.example.com
sl.example.comrealmd[6993]: Resolving ad.example.com failed: No DNS record of the requested type for '_kerberos._udp.ad.example.com'
sl.example.com realmd[6993]: No DNS record of the requested type for '_ldap._tcp.ad.example.com'

Environment

  • Red Hat Enterprise Linux 7
  • sssd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content