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:"
in Linux
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
Tagged:
0