> I don't have a "server services" linesee the defaults of smb.conf : testparm -vv | grep "server services" and you have your defaults. now you know what the defaults are.., now for example my DC. testparm -vv ( on the DC, samba-tool testparm -vv | grep "server services" ) gives back: server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate imagine, i want to use winbind and not winbindd. then i just add this to smb.conf server services = -winbindd +winbind Greetz, Louis>-----Oorspronkelijk bericht----- >Van: luca at wetron.es [mailto:samba-bounces at lists.samba.org] >Namens Luca Olivetti >Verzonden: woensdag 3 juni 2015 9:50 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] Samba 4.2 AD, DC and winbindd > >El 03/06/15 a les 08:00, Marc Muehlfeld ha escrit: >> Hello, >> >> Am 03.06.2015 um 06:57 schrieb Jacky Chan: >>> I am using samba 4.2.1 and want to clarify that do i need >to start the >>> winbindd service in AD and DC? >> >> I tried to clarify this on the page now: >> >https://wiki.samba.org/index.php/RFC2307_backend#Using_Winbindd >_on_a_Samba_DC > > >Mmmh, I don't have a "server services" line, I didn't add one and >apparently uid/gid to names mapping is working properly (there are >several winbindd processes running). >Besides, it seem to me that the advice is contradictory: with "server >services" you say to start winbindd instead of winbind, while without >you say to do the opposite? >And regarding "Additionally the steps described in Configuring RFC2307 >for Winbindd are required": those settings are ignored on the DC (well, >I'm not sure *all* of them are ignored, but I see no difference with or >without them, specifically "winbind nss info" *doesn't* pull the >information from AD, but, unfortunately, only from "template homedir" >and "template shell"). >The only line that matters on the DC seems to be "idmap_ldb:use rfc2307 >= yes" > >Bye >-- >Luca Olivetti >Wetron Automation Technology http://www.wetron.es >Tel. +34 935883004 Fax +34 935883007 >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
El 03/06/15 a les 10:00, L.P.H. van Belle ha escrit:>> I don't have a "server services" line > see the defaults of smb.conf : testparm -vv | grep "server services" > and you have your defaults.Yes, I know, that's why the advice "Users not having a ?server services? line (default values), need to add the parameter ?winbindd?: [global] ... server services = +winbind, -winbindd " in https://wiki.samba.org/index.php/RFC2307_backend#Using_Winbindd_on_a_Samba_DC is wrong 1) because winbindd is already default for 4.2 2) it should be -winbind, +winbindd Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 Fax +34 935883007
Your right... The wiki is half correct.. .. it says.. Users having a ?server services? line in their DC smb.conf, need to replace the ?winbind? entry by ?winbindd?: and the example is correct. Users not having a ?server services? line (default values), need to add the parameter ?winbindd?: this was wrong, below is correct. server services = -winbind, +winbindd and as extra, Users which want to use the old samba 4.1 winbind on 4.2, need to set. server services = +winbind, -winbindd>-----Oorspronkelijk bericht----- >Van: luca at wetron.es [mailto:samba-bounces at lists.samba.org] >Namens Luca Olivetti >Verzonden: woensdag 3 juni 2015 10:39 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] Samba 4.2 AD, DC and winbindd > >El 03/06/15 a les 10:00, L.P.H. van Belle ha escrit: >>> I don't have a "server services" line >> see the defaults of smb.conf : testparm -vv | grep "server services" >> and you have your defaults. > >Yes, I know, that's why the advice > >"Users not having a ?server services? line (default values), >need to add >the parameter ?winbindd?: > >[global] > ... > server services = +winbind, -winbindd >" > >in > >https://wiki.samba.org/index.php/RFC2307_backend#Using_Winbindd >_on_a_Samba_DC > >is wrong > >1) because winbindd is already default for 4.2 >2) it should be -winbind, +winbindd > >Bye >-- >Luca Olivetti >Wetron Automation Technology http://www.wetron.es >Tel. +34 935883004 Fax +34 935883007 >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
On Wednesday, June 03, 2015 04:47 PM, L.P.H. van Belle wrote:> and as extra, > Users which want to use the old samba 4.1 winbind on 4.2, need to set. > server services = +winbind, -winbinddCan anyone tell me the different between 4.1 winbind and 4.2 winbindd? Thanks