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-1811: How to refresh an AD user account's Kerberos ticket automatically

Auditing and Monitoring Service ,   Authentication Service ,   Mac & PC Management Service ,  

12 April,16 at 11:02 AM

Applies to: Centrify DirectControl 4.2 or later.
How to refresh an Active Directory (AD) user account's Kerberos ticket automatically?
For AD users who authenticate using DirectControl:
1. Modify /etc/centrifydc/centrifydc.conf and set:

krb5.cache.infinite.renewal: true. By default the kerberos tickets are good for 10 hours and the default value of  krb5.cache.renew.interval is 4 hours. 

2. Run: adreload.
For service accounts that are set up to read the krb5.keytab file, it can be done by simply creating a crontab entry which renews the account before it expires using kinit:
01 00 * * * /usr/share/centrifydc/kerberos/bin/kinit -k -V hostname$
01 08 * * * /usr/share/centrifydc/kerberos/bin/kinit -k -V hostname$
01 16 * * * /usr/share/centrifydc/kerberos/bin/kinit -k -V hostname$