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-3155: When to use daflush

Centrify DirectAudit ,  

12 April,16 at 11:09 AM

Applies to: Centrify DirectAudit 3.0 and above

Question:

What does the command daflush do?


Answer:


1. daflush will flush DirectAudit's in-memory cache for name service queries.

2. daflush also automatically flushes common name service caching daemons (such as nscd and pwgrd) if any of them are running.

If a user changed something that affects name service query, and wants to see the result immediately, running daflush will help.

For example, i
f an admin removed the 'UNIX login' role of an AD user, the admin would expect no result to be returned when running 'getent passwd aduser'.

However if DA is enabled, and DA's cache has the information of the AD user, some result is returned, even after CDC's cache is flushed (adflush).

Running daflush would make DA's cache and system's cache forget the user immediately.

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