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-6314: adinfo runs in nocachemode

Authentication Service ,  

12 April,16 at 10:59 AM

Applies to:

Centrify DirectControl Suite 2015 (CDC 5.2.2) and lower Versions on RedHat


When an Active Directory user who has no root permission runs adinfo, a message "WARN base.nocahcemode Disabling the agent directory cache" message is logged in /var/log/centrifydc.log.

# grep nocache /var/log/centrifydc.log
Sep 24 14:51:32 sol9u8v1 adinfo[14630]: [ID 702911 auth.debug] DEBUG base.guidindex GuidIndex::nocache: /var/centrifydc/dcdn.idx
Sep 24 14:51:32 sol9u8v1 adinfo[14630]: [ID 702911 auth.warning] WARN base.nocachemode Disabling the agent directory cache


The issue does not exist when run as local user.  The issue shows up when it is run as an AD user.  In the function GetComputer, it tries authenticated AD bindings in order to search the computer's expanded CIMS object via our object helper class, specifically for the last password set attribute. The guid index database is part of the search and it is accessible only to root user. However both the root user and a AD user can obtain the authenticated bindings, but the AD user does not have the permission to read the index database stored locally in the cache.


These warning messages generated by adinfo do not impact command functionality in any way, therefore it is safe to ignore.  The fix has been applied in Suite 2016 (CDC 5.3.0).