[Samba] DM 3.6.25 -> 4.x

Rowland Penny rpenny at samba.org
Fri Jun 8 12:12:58 UTC 2018


On Fri, 8 Jun 2018 13:57:45 +0200
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:

> Am 2018-05-30 um 18:22 schrieb Stefan G. Weichinger via samba:
> > Am 2018-05-30 um 17:36 schrieb Rowland Penny via samba:
> >> On Wed, 30 May 2018 17:22:56 +0200
> >> "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
> >>
> >>> can / should I test this with 3.6.25 already?
> >>> Unfortunately I don't have a valid ADS user/pw yet there, so I may
> >>> delay that update.
> >>
> >> well, as to can, been sometime since I used 3.6.x, but I think it
> >> will work with it, 'should' is a different thing, it 'should' work,
> >> but I would suggest backing everything up before you try.
> > 
> > I decide to delay that update until next week.
> > They left office already, noone there to create a test user etc
> > too dangerous
> 
> Approaching the update again, I plan to go to 4.5.16 first at the end
> of next week (this is the release marked as "stable" in gentoo
> terms ...). The step to 4.7.x or 4.8.x should then be
> easier/smaller/less scary, right?
> 
> -
> 
> 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 winbind

Adding 'winbind' to shadow has been known to cause problems and it
isn't needed anyway.
Why have 'dns' in 'group' ? what does a group have to do with dns ?

Rowland



More information about the samba mailing list