You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Oracle Linux: "adcli: couldn't connect to <realm> domain: Failed to create kerberos context:"

Applies to:
Linux OS - Version Oracle Linux 7.0 and later

Symptoms:

Joining a Microsoft Active Directory domain fails:

# adcli -v join <DOMAIN> -U <admin user>
* Using domain name: <DOMAIN>
* Calculated computer account name from fqdn: <HOSTNAME>
* Calculated domain realm from name: <DOMAIN>
* Discovering domain controllers: _ldap._tcp.<DOMAIN>
* Sending NetLogon ping to domain controller:<domain controller>.<domain>
* Received NetLogon info from: <domain controller>.<domain>
* Discovering site domain controllers: _ldap._tcp.<>._sites.dc._msdcs.<domain>
* Sending NetLogon ping to domain controller: <domain controller>.<domain>
* Received NetLogon info from: <domain controller>.<domain>
* Wrote out krb5.conf snippet to /tmp/adcli-krb5-hndKlQ/krb5.d/adcli-krb5-conf-8mBbGC
! Failed to create kerberos context: Included profile directory could not be read
adcli: couldn't connect to <DOMAIN> domain: Failed to create kerberos context: Included profile directory could not be read

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!