Kerberos authentication fails with error KRB5_CONFIG_BADFORMAT in ONTAP
Applies to
- ONTAP 9
- CIFS / SMB
- Kerberos
Issue
- 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)