I have a shared directory under windows set to full access for everyone. When I use mount.cifs it just hangs there, and when I use smbclient I get the following error? I can connects to share fine using my android phone. It is especially wierd that it says "login successful" but then access denied. Is that a clue?

sudo mount.cifs // /mnt/backups/ -o guest,soft --verbose

smbclient //MY-WINDOWS/backups -N -U Everyone 
Anonymous login successful
Domain=[MY-WINDOWS] OS=[Windows 10 Pro 15063] Server=[Windows 10 Pro 6.3]
tree connect failed: NT_STATUS_ACCESS_DENIED

migrated from serverfault.com Nov 17 '17 at 14:43

This question came from our site for system and network administrators.

  • Anonyous login to sharing host can be successful, then you can be denied access for the specific resource. Pretty normal. – Kitet Nov 17 '17 at 14:46
  • Do not use the Guest-Account. – bjoster Nov 21 '17 at 16:58

I got it to work by using a real user/password instead of guest/Everyone account.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.