My current smb.conf file.
Code:
[global]
workgroup = WORKGROUP
netbios name = DEATHSTAR
security = user
passdb backend = tdbsam:/etc/samba/private/passdb.tdb
;guest account = nobody
;wins server = 192.168.1.1
[Private]
comment = Private share
path = /home/pub
guest ok = no
read only = no
[Public]
comment = Public share
path = /home/pub/uploads/public
read only = no
guest ok = yes
guest only = yes
Basically what we have here are two shares, a private and public one. Private should be forced to login with a valid account, while Public should be read/write by everybody including people who do not login.
Overall it seems like I've had the same .conf work multiple diffrent ways, sometimes I'm forced to login, other times my Private share requires no longin at all. I'm quite confused about all of this.