Am 2018-06-08 um 14:12 schrieb Rowland Penny via samba:> On Fri, 8 Jun 2018 13:57:45 +0200 > "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote: >> I have to upgrade glibc on the way, and gentoo wants me to fix >> nsswitch.conf: >> >> https://wiki.gentoo.org/wiki/Glibc_2.26_porting_notes/nsswitch.conf_in_glibc-2.26 >> >> The server has until now: >> >> # /etc/nsswitch.conf: >> # $Header: >> /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/nsswitch.conf,v 1.1 >> 2006/09/29 23:52:23 vapier Exp $ >> >> passwd: compat winbind >> shadow: compat winbind >> group: compat dns winbind >> >> # passwd: db files nis >> # shadow: db files nis >> # group: db files nis >> >> hosts: files dns >> networks: files dns >> >> services: db files >> protocols: db files >> rpc: db files >> ethers: db files >> netmasks: files >> netgroup: files >> bootparams: files >> >> automount: files >> aliases: files >> >> >> --- >> >> should I go to: >> >> passwd: compat winbind files >> shadow: compat winbind files >> group: compat dns winbind files >> >> ? I am just super cautious here ;-) >> > > Well, seeing as 'compat' is 'files' with extras, you do not need both. > see 'man nsswitch.conf' > > I would go with: > > passwd compat winbind > shadow compat > group compat winbindThe gentoo-wiki-entry says "Make sure the /etc/nsswitch.conf file contains files entry". I will see on friday, at 2pm I start with the samba-upgrade and have to upgrade glibc as well.
On Thu, 14 Jun 2018 10:39:17 +0200 "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:> > Well, seeing as 'compat' is 'files' with extras, you do not need > > both. see 'man nsswitch.conf' > > > > I would go with: > > > > passwd compat winbind > > shadow compat > > group compat winbind > > The gentoo-wiki-entry says "Make sure the /etc/nsswitch.conf file > contains files entry". >Try reading 'man nsswitch.conf' on your distro, on my distro it explains all about 'compat' Perhaps your nsswitch.conf should only use 'files' and not 'compat', but either way, you shouldn't have both ;-) Rowland
Am 2018-06-14 um 12:27 schrieb Rowland Penny via samba:> On Thu, 14 Jun 2018 10:39:17 +0200 > "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote: > >>> Well, seeing as 'compat' is 'files' with extras, you do not need >>> both. see 'man nsswitch.conf' >>> >>> I would go with: >>> >>> passwd compat winbind >>> shadow compat >>> group compat winbind >> >> The gentoo-wiki-entry says "Make sure the /etc/nsswitch.conf file >> contains files entry". >> > > Try reading 'man nsswitch.conf' on your distro, on my distro it > explains all about 'compat' > > Perhaps your nsswitch.conf should only use 'files' and not 'compat', > but either way, you shouldn't have both ;-) > > Rowland >on my way now ... glibc new, samba-4.5.16 for a start we now get: [2018/06/15 14:43:09.481113, 0] ../source3/winbindd/winbindd_group.c:45(fill_grent) Failed to find domain 'Unix Group'. Check connection to trusted domains! [2018/06/15 14:43:15.695664, 0] ../source3/winbindd/winbindd_group.c:45(fill_grent) Failed to find domain 'Unix Group'. Check connection to trusted domains! wbinfo -g/-u works smbstatus Samba version 4.5.16 PID Username Group Machine Protocol Version Encryption Signing ---------------------------------------------------------------------------------------------------------------------------------------- 473 -1 -1 192.168.100.133 (ipv4:192.168.100.133:60924) NT1 - - 473 -1 -1 192.168.100.133 (ipv4:192.168.100.133:60924) NT1 - - 473 -1 -1 192.168.100.133 (ipv4:192.168.100.133:60924) NT1 hmm ?