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  >

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

Authentication Service ,  

26 February,20 at 04:04 PM


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


The reason for this may be that a non-existing directory was included in the /etc/krb5.conf.


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/

 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

 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

[domain_realm] = ACME.NET = ACME.NET

Save the file and then rerun adinfo and it should now return correctly.
User-added image