I have a linux system running samba which has an ethernet connection to a Windows 7 PC. After reading and trying a lot I got the following configuration:
[myShare] path = /usr/share/mySystemUser/ public = yes guest ok = yes writeable = yes browseable = yes ntlm auth = no
I simply want that myShare can be accessed either
- without any password (public share) or
- with the credentials of mySystemUser. mySystemUser is a local user on the linux machine.
But so far Windows requests a password, therefore myShare can only be accessed if I run
useradd myWindowsUserName smbpasswd -a myWindowsUsername
While entering the same Password as on the Windows machine, so that the same username exists both on the linux and Windows7 machine with the same password.
How can 1. and 2. be solved?