CIFS server account password does not match password stored in Active Directory (KRB5KDC_ERR_PREAUTH_FAILED)
Applies to
- ONTAP 9
- CIFS/SMB
Issue
- Client cannot access SMB/CIFS share via
\\svm_ip
,\\svm_ip\share_name
or\\fqdn
Note: screenshot displays error: Windows cannot access \\hostname\sharename
Note: screenshot displays error: \\hostname is not accessible. You might not have permission to use this network resource.
- EMS logs error:
Wed Sep 27 02:50:49 +0000 [node-01: secd: secd.cifsAuth.problem:error]: vserver (svm_name) General CIFS authentication problem.
[ 3398] CIFS server account password does not match password stored in Active Directory (KRB5KDC_ERR_PREAUTH_FAILED)
Wed Sep 27 02:50:40 +0000 [node-01: secd: secd.kerberos.preauth:error]: Kerberos pre-authentication failure due to out-of-sync machine account password for vserver (svm_name).
secd.conn.auth.failure:error: Vserver (SVM01) could not authenticate over the network to server (Server01)
Note:
- Security Daemon secd logs:
00000008.005bdd68 0493a463 Wed Sep 27 2023 02:50:49 +00:00 [kern_secd:info:88xx] | [002.382.xxx] info : [krb5 context 087D0xxx] Received error from KDC: -17653xxxxx/Additional pre-authentication required
- Attempts to change password fail (
vserver cifs domain password change
): - CLI response
Error: Password update failed. Reason: Kerberos Error: Invalid credentials were given.
- EMS
mgwd: cifs.domainpwd.not.updated:error]: An attempt to update the domain account password for Vserver X failed during password change with the following error: Password update failed. Reason: Kerberos Error: Invalid credentials were given