Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-28479: "Error: init context: Included profile directory could not be read" when running adinfo

Authentication Service ,  

26 February,20 at 04:04 PM

Problem:

When running adinfo on the command line, the following error is thrown:
 
Error: init context: Included profile directory could not be read
 
User-added image

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.
 
User-added image

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.