[Samba] Password-less Share on a Samba DC
David Bear
dwbear75 at gmail.com
Tue Feb 4 11:24:30 MST 2014
New to samba 4 but in your share can you not just do
[wideopenshare]
path=/mnt/disk/ext/downloads
guest ok = True
read only = True
browseable = True
to something any cifs client can read ?
On Tue, Feb 4, 2014 at 8:16 AM, Tiago Dias <tiago.dias at posteo.net> wrote:
> Hello
>
> 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:
> [global]
> server role = active directory domain controller
> workgroup = CASA
> realm = **REMOVED**
> netbios name = SATURN
> server services = -dns
>
> security = user
> map to guest = Bad User
>
> [netlogon]
> path = /var/lib/samba/sysvol/dc.ttsda.cc/scripts
> read only = no
> browseable = no
>
> [sysvol]
> path = /var/lib/samba/sysvol
> read only = no
> browseable = no
>
> [Musica]
> path = /mnt/disks/ext1/Music
> read only = no
> public = yes
>
> [Downloads]
> path = /mnt/disks/ext1/Downloads
> read only = no
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
--
David Bear
mobile: (602) 903-6476
More information about the samba
mailing list