Jobst Schmalenbach
2013-Jan-29 04:51 UTC
[Samba] upgrade from 3.5 -> 3.6, now I have "no backend defined for idmap"
Hi. I am getting loads of errors "no backend defined for idmap config MYDOMAIN" after I upgraded from 3.5 -> 3.6 a couple of days ago. I read http://wiki.samba.org/index.php/Samba_3.6_Features_added/changed and did what man smb.conf suggested: idmap config MYDOMAIN : backend = tdb idmap config MYDOMAIN : range = 500-1999999 yet I still receive those errors. I used to have idmap uid = 500-10000000 idmap gid = 500-10000000 and I had no errors while running 3.5.10. I am not sure what I am doing wrong, help please. Jobst -- 'I will go to Korea.' - Dwight D Eisenhower. | |0| | Jobst Schmalenbach, jobst at barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L & The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Dale Schroeder
2013-Jan-29 19:17 UTC
[Samba] upgrade from 3.5 -> 3.6, now I have "no backend defined for idmap"
Jobst, The following works for me in 3.6.x. Modify to match your criteria. idmap config * : backend = tdb idmap config * : range = <low> - <high> idmap config DOMAIN : default = Yes idmap config DOMAIN : backend = <idmap backend> idmap config DOMAIN : range = <different low> - <different high> Dale On 01/28/2013 10:51 PM, Jobst Schmalenbach wrote:> Hi. > > I am getting loads of errors "no backend defined for idmap config MYDOMAIN" after I upgraded from 3.5 -> 3.6 a couple of days ago. > > I read > > http://wiki.samba.org/index.php/Samba_3.6_Features_added/changed > > and did what > > man smb.conf > > suggested: > > idmap config MYDOMAIN : backend = tdb > idmap config MYDOMAIN : range = 500-1999999 > > > yet I still receive those errors. I used to have > > idmap uid = 500-10000000 > idmap gid = 500-10000000 > > and I had no errors while running 3.5.10. > > I am not sure what I am doing wrong, help please. > > > > Jobst > > > > > > > >
Jobst Schmalenbach
2013-Feb-05 06:08 UTC
[Samba] upgrade from 3.5 -> 3.6, now I have "no backend defined for idmap"
Hi Dale that worked, thanks. Just to clarify the "*" means everything else, right? Cause now I am getting (only once) [2013/02/04 07:50:48.519114, 1] winbindd/idmap.c:288(idmap_init_named_domain) no backend defined for idmap config BUILTIN One strange side effect ... I have never had to reboot a machine because of a change to the samba daemon(s), a restart always worked. For a couple of days after the change I still was getting the message until I rebooted ... now I do not get the messages, weird. Jobst On Tue, Jan 29, 2013 at 01:17:52PM -0600, Dale Schroeder (dale at BriannasSaladDressing.com) wrote:> Jobst, > > The following works for me in 3.6.x. Modify to match your criteria. > > idmap config * : backend = tdb > idmap config * : range = <low> - <high> > idmap config DOMAIN : default = Yes > idmap config DOMAIN : backend = <idmap backend> > idmap config DOMAIN : range = <different low> - <different high> > > > Dale > > On 01/28/2013 10:51 PM, Jobst Schmalenbach wrote: > >Hi. > > > >I am getting loads of errors "no backend defined for idmap config MYDOMAIN" after I upgraded from 3.5 -> 3.6 a couple of days ago. > > > >I read > > > > http://wiki.samba.org/index.php/Samba_3.6_Features_added/changed > > > >and did what > > man smb.conf > > > >suggested: > > > > idmap config MYDOMAIN : backend = tdb > > idmap config MYDOMAIN : range = 500-1999999 > > > > > >yet I still receive those errors. I used to have > > > > idmap uid = 500-10000000 > > idmap gid = 500-10000000 > > > >and I had no errors while running 3.5.10. > > > >I am not sure what I am doing wrong, help please. > > > > > > > >Jobst > > > > > > > > > > > > > > > >-- The journey of a thousand steps begins with few hundred forgotten necessities. | |0| | Jobst Schmalenbach, jobst at barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L & The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia