kinit failed to authenticate against Active Directory on W2K8
This document (7005039) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Desktop 10 Service Pack 2
SUSE Linux Enterprise Server 10 Service Pack 2
Situation
But an attempt to authenticate with kinit does not succeed..
Here is an output's example of an unsuccessful kinit command:
# kinit -V -k -t /etc/krb5.keytab 'LQT0001$'
kinit(v5): Key table entry not found while getting initial credentials)
A network capture does also show the error_code "KRB5KDC_ERR_PREAUTH_REQUIRED"
Resolution
To solve this issue, there are the following options:
- Disable the aes key for this machine account on the Windows Server.
- Change the krb5.conf and set
default_tkt_enctypes = arcfour-hmac-md5 des-cbc-crc des-cbc-md5
default_tgs_enctypes = arcfour-hmac-md5 des-cbc-crc des-cbc-md5
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7005039
- Creation Date: 16-Dec-2009
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com