Home directory access fails and EMS logs Nblade.cifsShrConnectFailed
Applies to
- ONTAP 9
- CIFS
- Dynamic Home Directories
Issue
- When a user tries to connect to Home dir share, it fails:
- EMS logs:
[node01: kernel: ems.engine.suppressed:debug]: Event 'Nblade.cifsShrConnectFailed' suppressed 15 times in last 1066 seconds.
[node01: kernel: Nblade_cifsShrConnectFailed_1:error]: params: {'errorDescription': 'No such object', 'vserverName': 'server01', 'serverIp': '1.2.4.1', 'vserverId': '12', 'errorCode': '2', 'shareName': '%w', 'clientIp': '1.2.3.4'}
ERROR Nblade.cifsShrConnectFailed: Vserver name: <vserver_name>, Vserver ID: 12, error description: No such object, error code: 2, share name: %w, Windows user name: Domain\user2, UNIX user name: pcuser, server IP address: 1.2.4.1, client IP address: 1.2.3.4.
- Verify the existence of the user's home directory on the share:
::> vserver security file-directory show -vserver <vserver>
-path <path>
-fields path
::> vserver cifs home-directory show-user -vserver <svm> -username <domain\user>
::> vserver cifs home-directory search-path show - vserver <svm>
Note: If it is unclear on which user home dir access is failing, a packet trace might be needed to find the user who is trying to connect to the home directory.