Cannot Enable AES Encryption With Error KRB5 KDC UNREACH in ONTAP 9
Applies to
- ONTAP 9
- CIFS/SMB
- Kerberos
- AES Encryption
Issue
- When trying to enable AES Encryption for the vserver, the process fails with error
KDCunreachable:::> vserver cifs security modify -vserver svm01 -advertised-enc-typesaes-128,aes-256Info: In order to disable CIFS AES encryption, the password for the CIFS servermachine account must be reset. Enter theusername and password for the CIFS domain "DOMAIN.LOCAL".Enter your user ID: administratorEnter your password:Error: command failed: Password update failed. Reason: Kerberos Error: KDCunreachable.
- SECD logs show failures in communication through port 464 with error
(KRB5_KDC_UNREACH):ERROR secd.unexpectedFailure: Unexpected SecD failure in Vserver "svm01".Details: Error: CIFS server password change procedure failed[ 21 ms] Successfully connected to ip 172.11.111.11w, port 389 using TCP[ 38] Successfully connected to ip 172.11.111.11w, port 88 using TCP[ 2047] TCP connection to ip 172.11.111.11w, port 464 failed: Operation timedout.[ 4050] TCP connection to ip 172.11.111.11x, port 464 failed: Operation timedout.[ 6506] TCP connection to ip 172.11.111.11y, port 464 failed: Operation timedout.[ 8003] TCP connection to ip 172.11.111.11z, port 464 failed: Operation timedout.[14084] FAILURE: Kerberos password change for 'SVM01$@DOMAIN.LOCAL.COM' failedwith Cannot contact any KDC for requested realm (KRB5_KDC_UNREACH)[14084] Retry requested, but the retry window (7000 ms) has expired; giving up.
