[Samba] getting ERROR: failed to setup guest info. But I cannot setup a guest account due to security policies

steve steve at steve-ss.com
Tue Nov 12 10:45:01 MST 2013


On Tue, 2013-11-12 at 16:47 +0000, Rowland Penny wrote:
> On 12/11/13 16:25, steve wrote:
> > On Tue, 2013-11-12 at 09:41 -0500, Jon West wrote:
> >> I'm trying to set up samba so that we can login to our RHEL 5.5 machines
> >> with our Windows 2008 R2 Active directory credentials. I am succesfully
> >> able to join the domain, but I cannot get the SMBD deamon to stay running
> >> and my log.smbd log is show  the
> > Hi
> > If that's all you want to do and you have posted the entirety of your
> > smb.conf then you shouldn't be running smbd. Is this the full setup?
> > Cheers,
> > Steve
> >
> >
> HI, I don't think that is the problem, he only has this in smb.conf:
> 
>    idmap config * : backend = rid
>    idmap config * : range = 10000-20000
> 
> I would expect something like this:
> 
>    idmap config EXAMPLE:schema_mode = rfc2307
>    idmap config EXAMPLE:range = 1100-50000
>    idmap config EXAMPLE:backend = rid
>    idmap config * : range = 210000-3100000
>    idmap config * : backend = tdb
> 
> I think he wants the computer to run as a fileserver, in which case smbd 
> needs to run, but until he posts a bit more info, it is a bit hard to 
> say which way to go next.
> 
> Rowland
> 

Hi
I'm assuming that the only information given by the OP is the whole
story. They seem to just want to authenticate against AD. Nothing else.
Conclusion:
Change smb.conf to Rowland's version above, kill smbd and start winbind.
That's it.
HTH
Steve




More information about the samba mailing list