IBM Support

Kerberos is case sensitive

Troubleshooting


Problem

Logging in with ID name (all small case) gives a Kerberos error but logging in with ID NAME (all caps) is successful and a new ticket is created.

Symptom

Here are the 2 scenarios:

  • Scenario 1:

  • D:\IBM\WebSphere\AppServer\java\jre\bin>kinit.exe name
    Password for name@IBM.COM: xxxxxxxx
    com.ibm.security.krb5.KrbException, status code: 24
    message: Pre-authentication information was invalid

  • Scenario 2:

  • D:\IBM\WebSphere\AppServer\java\jre\bin>kinit NAME
    Password for NAME@IBM.COM: xxxxxxxx
    Done!
    New ticket is stored in cache file

The following error is seen in the SystemOut.log and trace.log files:

[JGSS_DBG_CRED] JAAS config: debug=true
[JGSS_DBG_CRED] JAAS config: credsType=initiate only (default)
[JGSS_DBG_CRED] JAAS config: useDefaultCcache=false (default)
[JGSS_DBG_CRED] JAAS config: useDefaultKeytab=false (default)
[JGSS_DBG_CRED] JAAS config: forwardable=false (default)
[JGSS_DBG_CRED] JAAS config: proxiable=false (default)
[JGSS_DBG_CRED] JAAS config: noAddress=false (default)
[JGSS_DBG_CRED] JAAS config: tryFirstPass=false (default)
[JGSS_DBG_CRED] JAAS config: useFirstPass=false (default)
[JGSS_DBG_CRED] JAAS config: moduleBanner=false (default)
[JGSS_DBG_CRED] JAAS config: interactive login? yes
[JGSS_DBG_CRED]Doing Kerberos login forprincipal name@ibm.com

SystemErr     R
 com.ibm.security.krb5.KrbException, status code: 24
 at com.ibm.security.krb5.KrbAsRep.<init>(KrbAsRep.java:21)
 at com.ibm.security.krb5.KrbAsReq.getReply(KrbAsReq.java:22)
 at com.ibm.security.krb5.KrbAsReq.getReply(KrbAsReq.java:61)
                ...  

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Java Security (JSSE\/JCE)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5.5;8.5;8.0;7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
03 March 2025

UID

swg21247906