[Samba] upgraded DC shows IDs instead of usernames
L.P.H. van Belle
belle at bazuin.nl
Tue May 12 10:33:35 UTC 2020
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Stefan G. Weichinger via samba
> Verzonden: dinsdag 12 mei 2020 11:57
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] upgraded DC shows IDs instead of usernames
> Am 12.05.20 um 11:49 schrieb Rowland penny via samba:
> > On 12/05/2020 10:38, Stefan G. Weichinger via samba wrote:
> >> I think I did that years ago ;-) ... but the links were
> missing again,
> >> thanks for the reminder.
> >> Created them, and restarted samba-ad-dc.service but so far
> the output of
> >> smbstatus still displays IDs:
> > Try running 'net cache flush'
> Did already.
> >> btw:
> >> The wiki says "If you compiled Samba, add symbolic links from the
> >> libnss_winbind library to the operating system's library path. For
> >> details, see libnss_winbind Links. If you used packages to install
> >> Samba, the link is usually created automatically."
> >> If I use Louis's repo ... the links aren't created ... ?
> > They usually are, perhaps the libnss_winbind package wasn't
> updated ?
> Solved: package libnss-winbind ("-", not "_") was *missing* (on both
> DCs, btw)
> Info added: the upgrade somehow uninstalled samba again, same as back
> with stretch -> buster.
This happens if you
Do it like this.
First you update stretch (apt upgrade)
Then you change apt/sources.list to buster
You run apt update && "apt upgrade"
Then it removes samba, because, libldb1 is not libldb2.
apt-get dist-upgrade --autoremove
This removed old obsolete and/or possible conflicting packages.
And this would have removed libldb1 so libldb2 could be installed.
> So that seems to have removed that package as well and I
> didn't remember it.
> Yes, I should write that down in ansible or so.
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba