Skip to main content
NetApp Knowledge Base

Kerberos authentication fails with error KRB5_CONFIG_BADFORMAT in ONTAP

Last Updated:

Applies to

  • ONTAP 9.12.1 and later
  • CIFS / SMB
  • Kerberos


  • EMS errors report the following:
    Tue Oct 20 15:07:35 -0500 [CLUSTERNAME: secd: secd.cifsAuth.problem:error]: vserver (SVMNAME) General CIFS authentication problem. Error: User authentication procedure failed CIFS SMB2 Share mapping - Client Ip = x.x.x.x **[ 13] FAILURE: CIFS authentication failed
  • Secd.gz shows the following error:
    Tue Oct 20 2020 15:08:47 -05:00 [kern_secd:info:12745] | [000.006.626] ERR : RESULT_ERROR_KERBEROS_UNKNOWN_ERROR:7556 in getKrbInitCreds() at src/GssapiCtx.cpp:487
    Tue Oct 20 2020 15:08:47 -05:00 [kern_secd:info:12745] | [000.006.644] ERR : getKrbInitCreds: Kerberos Error: (Improper format of Kerberos configuration file (KRB5_CONFIG_BADFORMAT))
    Tue Oct 20 2020 15:08:47 -05:00 [kern_secd:info:12745] | [000.006.678] info : Improper format of Kerberos configuration file (KRB5_CONFIG_BADFORMAT)


Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.