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-6351: How to Configure adclient To Create A Kerberos Ticket Using Lower Case Letters For the Default Principal In Hierarchical and Classic Zones?

Centrify DirectControl ,  

9 March,16 at 06:15 PM

Applies to:

Centrify Server Suite 2016


When adclient obtains a kerberos credential (joe@<REALM>), it will use UPN by default, with alternative sAMAccountName. The kerberos ticket is case sensitive.  If the UPN or sAMAccountName is in upper case, then the ticket will reflect so.

For Example:

upn: Joe@centrifyimage.vms
sAMAccountName: Joe

Joe logs in and creates a kerberos ticket:

[joe@engcen6 ~]$ klist -A
Ticket cache: FILE:/tmp/krb5cc_cdc1627391098_g36QnZ
Default principal: Joe@CENTRIFYIMAGE.VMS

Some applications, including Hadoop, require the default principal to be in all lower case letters.  Centrify has the option to force the kerberos principal to lower case letters for auto-zone: true

How can the Centrify Agent be configured to force lower case letters for the kerberos principal in hierarchical and classic zones types?

A new parameter is available starting in Suite 2016.  In /etc/centrifydc/centrifydc.conf

adclient.krb5.principal.lower: true

The default value is false.

To implement:
1) Set the value of the parameter in /etc/centrifydc/centrifydc.conf
adclient.krb5.principal.lower: true
2) # adreload
3) # adflush -f

Now when Joe logs in and creates a kerberos ticket the default principal is in lower case letters:
[joe@engcen6 ~]$ klist -A
Ticket cache: FILE:/tmp/krb5cc_cdc1627391098_pITwFK
Default principal: joe@CENTRIFYIMAGE.VMS

This same parameter also works when the sAMAccountName is used as the principal value.
adclient.krb5.principal: sam
adclient.krb5.principal.lower: true

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