[Samba] Password-less Share on a Samba DC

Tiago Dias tiago.dias at posteo.net
Tue Feb 4 08:16:18 MST 2014


I am setting up a samba 4 DC in my home server, and I have multiple 
shares I want to only be accessed after username/password input, and 
those are working fine. However, I also want to have one share that can 
be accessed by anyone in the network, without entering any credentials.
I searched around the internet and found that I could use "security = 
user" and "map to guest = Bad User", but when I try to access the share 
from a Windows client I still get the credentials popup, and can only 
see the share by either entering a real username and password or "\" in 
the username field and leaving the password blank.

Is there any way to have the share working the way I want it?

Thank you in advance.

Samba Version: 4.1.3
Operating System: Debian 3.2.51-1 x86_64

My smb.conf:
     server role = active directory domain controller
     workgroup = CASA
     realm = **REMOVED**
     netbios name = SATURN
     server services = -dns

     security = user
     map to guest = Bad User

     path = /var/lib/samba/sysvol/dc.ttsda.cc/scripts
     read only = no
     browseable = no

     path = /var/lib/samba/sysvol
     read only = no
     browseable = no

     path = /mnt/disks/ext1/Music
     read only = no
     public = yes

     path = /mnt/disks/ext1/Downloads
     read only = no

More information about the samba mailing list