Sporadic fail of connection to windows share when using NTLM security
Issue
- Sometimes a previously working connection to a
CIFSshare is lost - The
lsoutput shows ? instead of showing the appropriate rights of the directory:
# ls /mnt
ls: cannot access /mnt: Permission denied
# ls -l /
...
d?????????? ? ? ? ? ? mnt
...
- The mount is done using
NTLMsecurity e.g. as follows
//server/mount /mnt/ cifs nosuid,credentials=/etc/smbmounts/creds,uid=999,sec=ntlmsspi,gid=999,file_mode=0664,dir_mode=0775 0 0
- Unmounting and remounting the share does solve the problem.
Environment
- Red Hat Enterprise Linux 6
- Windows File Server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
