Got it

Authentication Fails When a Windows Client Accesses a CIFS Share Because the Kerberos Authentication Ticket Is Cached

Latest reply: Jan 26, 2021 01:38:53 442 1 2 0 0

Hello, everyone!

Do you know how to solve the authentication fails when a Windows client accesses a CIFS share because the Kerberos authentication ticket is cached? Don't worry, the post will share with you how to solve it.

Symptoms

Use Huawei OceanStor V3 to completely replace the peer vendor's storage. Configure the service IP address of the peer vendor's storage to V3, remove the peer vendor's storage from the AD domain, and use the same machine account to add the peer vendor's storage to the same AD domain. In the preceding scenario, when the Windows client uses the \\domain name mode to mount the CIFS share of the migrated V3 storage, the authentication may fail, as shown in the following figure.

03


Cause

When a Windows client and storage device are added to the same AD domain and \\domain name is used to access a CIFS share, Kerberos authentication is performed. During Kerberos authentication, the Windows client requests an authentication ticket from the AD domain controller. The ticket is encrypted by the password of the storage device. Then, the Windows client sends the ticket to the storage system for authentication. The storage system uses its own machine password to decrypt the ticket. After the verification is successful, Windows successfully accesses the storage CIFS share. In this case, the client caches the Kerberos authentication ticket.

Before the migration, the client caches the Kerberos authentication tickets required by the competitor's storage when mounting the competitor's storage. After the migration, when accessing V3 storage, the client uses the Kerberos ticket cached on the competitor's storage to authenticate the V3 storage because the domain names are the same before and after the migration. However, the V3 storage fails to decrypt the ticket because the passwords of the V3 storage and the competitor's storage in the AD domain are different, as a result, the authentication fails.

Analysis

If the CIFS fails to be accessed using the domain name \\, enter klist in the cmd.exe window to check whether the Windows client caches the Kerberos authentication ticket. If the following information is displayed, the client caches the Kerberos authentication ticket. In this case, the problem occurs.

01

Solution

To solve this problem, run the klist purge command in the cmd.exe window of the Windows client to clear the ticket cache on the client. Then, access the CIFS.

02

This is my solution, how about yours? Go ahead and share it with us!


Thanks for your sharing!
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.