Web lists-archives.com

Re: [Samba] getent passwd no domainusers




On Sat, 6 Oct 2018 20:01:15 +0200
basti mueller via samba <samba@xxxxxxxxxxxxxxx> wrote:

> 
> >> Hi,
> >> 
> >> I just want to add a linux machine to my samba 4 ad. Its a debian
> >> stretch and I installed the  following packages:apt-get install
> >> winbind libpam-winbind libnss-winbind libpam-krb5 krb5-config
> >> krb5-user samba attr ...  My machine-configs:
> >> 
> >> nsswitch.conf:
> 
> >> hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname
> 
> > Only change I would make to nsswitch.conf would be the above line:
> 
> > hosts: files dns
> Just added it :)
>  
> >> smb.conf:
> >> [global]
> 
> >> winbind nss info = rfc2307
> >> winbind nss info = rfc2307
> >> idmap config * : backend = tdb
> >> idmap config * : range = 3000-7999
> >> idmap config EXAMPLE : backend = ad
> >> idmap config EXAMPLE : schema_mode = rfc2307
> >> idmap config EXAMPLE : range = 10000-999999
> 
> > What version of Samba ?
> > If it is >= 4.6.0 then the above lines are wrong:
> > Remove the 'winbind nss info' lines (you shouldn't have two a two
> > even if you are using the default 4.5.12)
> 
> > Add:
> > idmap config EXAMPLE : unix_nss_info = yes
> 
> I use the debian package of samba so the version is 2.4.5 ... should
> I leave these settings in my conf?

No, your version isn't 2.4.5, it is 4.5.12, so your lines are correct,
you just have an extra 'winbind nss info = rfc2307'
 
Rowland
 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba