[Samba] samba4 anonymous read-only access to a server share

Thomas Harold thomas-lists at nybeta.com
Tue Jul 16 09:38:19 MDT 2013

I suspect, based on the conversation about this back in May 2013 in the 
thread titled "\"map to guest = bad user\" ignored in Samba 4?", that 
this is still an issue?

What I'm trying to do is setup a samba4 file server with the following 
options in the [global] area of smb.conf:

	server role = active directory domain controller

	map to guest = bad user
	guest account = samba_guest

	path = /mnt/smb/software
	read only = no
	hide files = /lost+found/
	guest ok = yes

However, it is still prompting me for authentication when I try and 
access the server from a non-domain machine.  The expected behavior 
would be that it maps me to the guest account ("map to guest = bad 
user") and then lets me browse the [software] share as a guest user.

We're running 4.0.6.  Looking at the release notes for 4.0.7 I don't see 
anything with "guest" in the notes.

More information about the samba mailing list