I have a laptop running Windows 7. Only one account is configured on it, and it does not have a a password.
I try to access its shares from a PC running Ubuntu 14.04, configured to be in the same workgroup, and attached to the same local network.
Both Nautilus and smbclient are unable to access it. For example
$ smbclient //<server>/<share> -U <user> Enter <user>'s password: Anonymous login successful Domain=[WORKGROUP] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1] tree connect failed: NT_STATUS_ACCESS_DENIED
(I just press Enter when asked for a password).
The irony is that, when the account on the Windows laptop is configured to have a password, and the correct password is entered, the connection works.
In theory, it should work in both cases: if there's no password, and no password is entered, there should be no reason to deny access. So, why doesn't it work? Does Samba consider "empty password" as a special case?