I have a Samba server configured running on an OpenWRT router. It makes several shares available accessible to anyone (as guests), some even allow writing. This all works fine.
Now, I'd like to add a writeable share accessible only by a single named user with a password. I have added a system user, and an appropriate share as per the OpenWRT manual on Samba. I have also set a password with smbpassword.
Then I tested this very share with the same password using my Ubuntu's file manager (Files 3.6.3). It was mounted correctly, and I had read/write access as expected.
Windows 7, however, when trying to access the share, throws an authorization error. I tried logging in as different users and inputting those known credentials but it returns the unknown user or incorrect password* error every time.
I'm pretty sure the password is correct unless there is some weird encoding issue. They're generated with pwgen -s so no weird stuff.
I tried rebooting, leaving the network work group, I changed the password to a shorter one (7 characters), restarted samba before connection attempts... to no avail. It consistently works for the Ubuntu machine and consistently doesn't for Windows 7.
What's the problem here? Or how could I at least get some detailed information?
Samba logs on the server are empty
# ls /var/log/log.* /var/log/log.nmbd /var/log/log.smbd # cat /var/log/log.* #
# smbd --version Version 3.6.5