I have a file server running Debian Testing and Samba 3.2.3. Workstations that access the shares are running Windows XP Home, SP2/SP3. XP Home does not feature the same network authentication that XP Professional does.
Currently, I have security = share set in [global] so that users do not need to enter any login/password to access the shares. This accessibility is important.
Now I have the need to create a separate password protected share.
Here is my samba.conf
Code:
[global]
workgroup = workgroup
netbios name = Files
level2 oplocks = no
oplocks = no
hosts allow = 192.168.1. 127.
guest account = someuser
log file = /var/log/samba/%m.log
log level = 1
max log size = 50
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
include = /etc/samba/dhcp.conf
dns proxy = no
# encrypt passwords = true
# smb passwd file = /etc/samba/smbpasswd
#======================= Share Definitions =======================
[files]
path = /home/files/files
writable = yes
public = yes
read only = no
[private]
path = /home/private/
writable = yes
public = no
valid users = private SomeWindowsUser
When I set public = no, and valid users = SomeWindowsUser, and add SomeWindowsUser to the server with adduser, setting the same password as is on the Windows XP Home machine...
I get a prompt for a password when accessing the share from XP Home. The login field is greyed out and says 192.168.1.13\Guest and it will not accept any password that I know.
How can I have an openly accessible share as well as a share that is password protected when the clients are using Windows XP Home?
Do I need to set the value security = user in order to get a password prompt for the private share? If I do this, is the public share that does not require a username/password still possible?