Problem:When running
adinfo on the command line, the following error is thrown:
Error: init context: Included profile directory could not be read
Cause:The reason for this may be that a non-existing directory was included in the
/etc/krb5.conf.
Resolution:If the
includedir option is being used in the
/etc/krb5.conf, verify that the directories listed exist or not.
If the directory listed for the
includedir does not exist, remove or comment out that entry in the
/etc/krb5.conf.
Example
/etc/krb5.conf file where
includedir option is used, but the
/etc/krb5.conf.d/ directory does not exist.
#includedir /etc/krb5.conf.d/
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
# default_realm = EXAMPLE.COM
default_ccache_name = KEYRING:persistent:%{uid}
default_realm = ACME.NET
[realms]
ACME.NET = {
}
[domain_realm]
acme.net = ACME.NET
.acme.net = ACME.NET
Save the file and then rerun adinfo and it should now return correctly.