Can’t access password protected smb share

finderNetworksmb

I have a Netgear Nighthawk R7000 Router with an attached HDD which I'm trying to access with the ReadyShare feature. I've created 3 shared folders:

  1. no_pass (no password required)
  2. pass_write (password required for write access)
  3. pass_read (password required for read/write access)

The problem is that while I can access folder 1 (no password) fine, I can't connect to 2 or 3 in finder because I'm getting a permission denied error. When connecting to server, I've tried each of the following:

  • smb://readyshare(/share_name)
  • smb://admin@readyshare(/share_name)
  • smb://admin:password@readyshare(/share_name)

I've done all the above with cifs and replaced readyshare with the ip address but while 'no_pass' will mount without a problem, 'pass_read' and 'pass_write' give

permission denied screenshot

Note: smb://readyshare or smb://192.168.1.1 will both show a list of the shared folders but again, only 'no_pass' will mount. The others give the same error above.

I can connect to all the folders using http or ftp so it doesn't seem to be an issue with the shares…

Any idea what's going on here?

(OS 10.10.2)

Best Answer

I had the same issue with my Netgear Nighthawk R8500 until I reduced the router's password to 14 characters, as suggested by user137327. Since the router's password is also used as the Samba password, perhaps the cause is related to the legacy of Samba and Lanman password limitations:

"passwords are limited to a maximum of only 14 characters"

"Many legacy third party CIFS implementations have taken considerable time to add support for the stronger protocols that Microsoft has created to replace LM hashing because the open source communities supporting these libraries first had to reverse engineer the newer protocols—Samba took 5 years to add NTLMv2 support"