[Samba] "map to guest = bad user" ignored in Samba 4?

Andrew Bartlett abartlet at samba.org
Fri Feb 15 20:45:21 MST 2013


On Wed, 2013-02-13 at 10:33 +0000, Sebastian Arcus wrote:
> I would like to migrate some of my Samba 3.x domains to Samba 4. Part of 
> the functionality of the current system is allowing some Windows XP Pro 
> computers, which are not joined to the domain, access to some public 
> shares on the Samba server. I tried using "map to guest = bad user" with 
> Samba 4 - but it appears to be completely ignored and the Windows XP 
> machine keeps on prompting for username/password when trying to access 
> the server share. Has this option been dropped in Samba 4? Is there 
> another way to accomplish the same?

This sounds correct.  This isn't currently supported against the AD DC.
Guest access to the domain should be based on the 'guest' account being
enabled, but this isn't hooked in either. 

> Otherwise my Samba 4 domain seems to be working fine - and the Windows 
> XP Pro machines which are joined to it can access the share fine.
> 
> As a side note, I find it hard to figure out which smb.conf options are 
> still available for Samba 4 and which are not. I've googled around and 
> can't seem to find a wiki page or authoritative page.

You have hit one of the areas where this isn't well documented. 

Sorry,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba mailing list