L.P.H. van Belle
2018-Jul-20 09:47 UTC
[Samba] Debian Stretch Samba Packages 4.8.3 available (amd64/i386)
> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Stefan G. Weichinger via samba > Verzonden: vrijdag 20 juli 2018 11:29 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Debian Stretch Samba Packages 4.8.3 > available (amd64/i386) > > Am 2018-07-20 um 11:22 schrieb L.P.H. van Belle via samba: > > Hai Stefan, > > > >> upgraded a DC (one of two) from 4.8.2 to 4.8.3 (including > some debian > >> jessie upgrades, did reboot) ?? > > > > Can you explain that process a bit more? As i understand > you did the following. > > > > 1) upgrade a debian Jessie to Debian stretch. ? > > 2) upgrade samba from jessie to stretch. ? > > > > Is that correct ? Im asking because i did not build any > jessie samba 4.8.2.. > > *sorry* ... I mixed that up in my hurry > > Debian Stretch here = 9.4 -> no jessie involved, my mistake at writing > my posting > > I ran 4.8.2 on stretch, did debian upgrades and samba upgrades > then samba-vfs-modules was missingHmm thats a strange one, i do a check on that for the next server. My output, ( before upgrade ) apt-cache policy samba-vfs-modules samba-vfs-modules: Installed: 2:4.7.8+nmu-1~deb9 Candidate: 2:4.7.8+nmu-1~deb9 Version table: *** 2:4.7.8+nmu-1~deb9 500 500 http://apt.van-belle.nl/debian stretch-unstable/main amd64 Packages 100 /var/lib/dpkg/status 2:4.6.15+nmu-1~deb9 500 500 http://apt.van-belle.nl/debian stretch/main amd64 Packages 2:4.6.7+dfsg-2~bpo9+1 500 500 http://apt.van-belle.nl/debian stretch-backports/main amd64 Packages 2:4.5.12+dfsg-2+deb9u2 500 500 http://ftp.nl.debian.org/debian stretch/main amd64 Packages 500 http://security.debian.org stretch/updates/main amd64 Packages # Content of : /etc/apt/sources.list.d/van-belle.list #deb http://apt.van-belle.nl/debian stretch-backports main contrib non-free #deb http://apt.van-belle.nl/debian stretch main contrib non-free #deb http://apt.van-belle.nl/debian stretch-unstable main contrib non-free deb http://apt.van-belle.nl/debian stretch-samba48 main contrib non-free apt-get update && apt-get upgrade ( Note ! If you upgrade from a 4.5 or 4.6 you might need to use dist-upgrade due to extra packages ) The following packages will be upgraded: ldb-tools libldb1 libnss-winbind libpam-winbind libsmbclient libtalloc2 libtdb1 libwbclient0 python-ldb python-samba python-talloc python-tdb samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient tdb-tools winbind Need to get 11.9 MB of archives. After this operation, 5,529 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://apt.van-belle.nl/debian stretch-samba48/main amd64 libtalloc2 amd64 2.1.13+nmu-0.1~deb9 [36.5 kB] Get:2 http://apt.van-belle.nl/debian stretch-samba48/main amd64 python-tdb amd64 1.3.15-3~bpo9+1 [16.6 kB] Get:3 http://apt.van-belle.nl/debian stretch-samba48/main amd64 libtdb1 amd64 1.3.15-3~bpo9+1 [44.1 kB] Get:4 http://apt.van-belle.nl/debian stretch-samba48/main amd64 samba-vfs-modules amd64 2:4.8.3+nmu-1 [421 kB] <<< VFS Modules. Get:5 http://apt.van-belle.nl/debian stretch-samba48/main amd64 python-ldb amd64 2:1.3.4+nmu-1~deb9 [35.3 kB] Get:6 http://apt.van-belle.nl/debian stretch-samba48/main amd64 samba-dsdb-modules amd64 2:4.8.3+nmu-1 [349 kB] Get:7 http://apt.van-belle.nl/debian stretch-samba48/main amd64 libldb1 amd64 2:1.3.4+nmu-1~deb9 [121 kB] Get:8 http://apt.van-belle.nl/debian stretch-samba48/main amd64 python-talloc amd64 2.1.13+nmu-0.1~deb9 [12.9 kB] Get:9 http://apt.van-belle.nl/debian stretch-samba48/main amd64 python-samba amd64 2:4.8.3+nmu-1 [2,054 kB] Get:10 http://apt.van-belle.nl/debian stretch-samba48/main amd64 tdb-tools amd64 1.3.15-3~bpo9+1 [27.4 kB] Get:11 http://apt.van-belle.nl/debian stretch-samba48/main amd64 samba amd64 2:4.8.3+nmu-1 [1,060 kB] Get:12 http://apt.van-belle.nl/debian stretch-samba48/main amd64 libsmbclient amd64 2:4.8.3+nmu-1 [154 kB] Get:13 http://apt.van-belle.nl/debian stretch-samba48/main amd64 smbclient amd64 2:4.8.3+nmu-1 [447 kB] Get:14 http://apt.van-belle.nl/debian stretch-samba48/main amd64 libnss-winbind amd64 2:4.8.3+nmu-1 [112 kB] Get:15 http://apt.van-belle.nl/debian stretch-samba48/main amd64 libpam-winbind amd64 2:4.8.3+nmu-1 [130 kB] Get:16 http://apt.van-belle.nl/debian stretch-samba48/main amd64 winbind amd64 2:4.8.3+nmu-1 [548 kB] Get:17 http://apt.van-belle.nl/debian stretch-samba48/main amd64 samba-common-bin amd64 2:4.8.3+nmu-1 [598 kB] Get:18 http://apt.van-belle.nl/debian stretch-samba48/main amd64 samba-libs amd64 2:4.8.3+nmu-1 [5,408 kB] Get:19 http://apt.van-belle.nl/debian stretch-samba48/main amd64 libwbclient0 amd64 2:4.8.3+nmu-1 [128 kB] Get:20 http://apt.van-belle.nl/debian stretch-samba48/main amd64 samba-common all 2:4.8.3+nmu-1 [170 kB] Get:21 http://apt.van-belle.nl/debian stretch-samba48/main amd64 ldb-tools amd64 2:1.3.4+nmu-1~deb9 [33.5 kB] .......... Setting up samba-vfs-modules:amd64 (2:4.8.3+nmu-1) ... <<< VFS modules Setting up python-samba (2:4.8.3+nmu-1) ... Setting up libsmbclient:amd64 (2:4.8.3+nmu-1) ... Setting up smbclient (2:4.8.3+nmu-1) ... Setting up samba-common-bin (2:4.8.3+nmu-1) ... Checking smb.conf with testparm <<< Great improvement for the upgrades. :-)) Load smb config files from /etc/samba/smb.conf Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Done Setting up samba-dsdb-modules:amd64 (2:4.8.3+nmu-1) ... ... Etc.. Installing new version of config file /etc/logrotate.d/samba ... Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service Please ignore the following error about deb-systemd-helper not finding those services. (samba-ad-dc.service already masked) Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory <<< was already manualy disabled/removed Setting up libnss-winbind:amd64 (2:4.8.3+nmu-1) ... So looks good to me with a 4.7.8 to 4.8.3, i'll search for a 4.8.2 server and do the same again. The vfs modules resulted nice in apt-cache policy samba-vfs-modules samba-vfs-modules: Installed: 2:4.8.3+nmu-1 Candidate: 2:4.8.3+nmu-1 Version table: *** 2:4.8.3+nmu-1 500 500 http://apt.van-belle.nl/debian stretch-samba48/main amd64 Packages 100 /var/lib/dpkg/status 2:4.5.12+dfsg-2+deb9u2 500 500 http://ftp.nl.debian.org/debian stretch/main amd64 Packages 500 http://security.debian.org stretch/updates/main amd64 Packages> > > > The cache entry, no worries, just cache, net cache flush and gone. > > I did see that also for 1 of my users. ( same user on all > servers ) and only in the log.winbindd. > > > >>> (re-)installed samba-vfs-modules (why did they get lost at the > >>> upgrade??), restarted samba. > > > > I dont know, but i'll do a checkup, i need the previous OS > and Samba version. > > See above. > > > I've done now about 15 upgrades ( all debian stretch ) > > Versions : > > 4.7.8 to 4.8.3, 4.8.2 to 4.8.3. > > I dont see any problems here, any special settings in the > smb.conf ? > > I don't think so, you guys have seen this smb.conf around 5 times > already ;-)Ok, so nothing is added.> > thanks, Stefan > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >Now about that cache entry log message in log.winbindd. I checked before this 4.7.8 upgrade, and i had that already before the upgrade. Check after, still there even after the net cache flush. I'll have a look into that but i suspect that is a samba thing, not a packaging thing. Greetz, Louis
L.P.H. van Belle
2018-Jul-20 09:58 UTC
[Samba] cache_traverse_validate_fn: unknown cache entry
Extra info, i did not see these on the AD DC servers. Stefan, you ? Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > L.P.H. van Belle via samba > Verzonden: vrijdag 20 juli 2018 11:57 > Aan: samba at lists.samba.org > Onderwerp: [Samba] cache_traverse_validate_fn: unknown cache entry > > New subject, > > Samba 4.8.3 after upgrade shows. ( message from Re: [Samba] > Debian Stretch Samba Packages 4.8.3 available (amd64/i386)) > > cache_traverse_validate_fn: unknown cache entry > > > I've checked a few more server. > I have 1 user on all server with this message. > > net cache flush did not resolve the message. > > Rowland, you any idee? > It's cache so imo, not so scarry, but it would be nice fix > these messages in the logs. > Imo low prio, since everything works fine. > > > Greetz, > > Louis > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Stefan G. Weichinger
2018-Jul-20 10:09 UTC
[Samba] cache_traverse_validate_fn: unknown cache entry
Yes. On the road currently. Am 20. Juli 2018 11:58:59 MESZ schrieb "L.P.H. van Belle" <belle at bazuin.nl>:>Extra info, i did not see these on the AD DC servers. > >Stefan, you ? > >Greetz, > >Louis > > >> -----Oorspronkelijk bericht----- >> Van: samba [mailto:samba-bounces at lists.samba.org] Namens >> L.P.H. van Belle via samba >> Verzonden: vrijdag 20 juli 2018 11:57 >> Aan: samba at lists.samba.org >> Onderwerp: [Samba] cache_traverse_validate_fn: unknown cache entry >> >> New subject, >> >> Samba 4.8.3 after upgrade shows. ( message from Re: [Samba] >> Debian Stretch Samba Packages 4.8.3 available (amd64/i386)) >> >> cache_traverse_validate_fn: unknown cache entry >> >> >> I've checked a few more server. >> I have 1 user on all server with this message. >> >> net cache flush did not resolve the message. >> >> Rowland, you any idee? >> It's cache so imo, not so scarry, but it would be nice fix >> these messages in the logs. >> Imo low prio, since everything works fine. >> >> >> Greetz, >> >> Louis >> >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> >>-- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
L.P.H. van Belle
2018-Jul-20 12:09 UTC
[Samba] cache_traverse_validate_fn: unknown cache entry
Hi, I tested the following. stop winbind rm /var/lib/samba/winbindd_cache.* start winbind And the error is gone. I did notice the following, before and while having the log message. running : net cache list | grep username That shows the user. Now after stoping , remove the cache.tdb files and starting i tested it again. net cache list | grep username ! This did NOT show the user, but ... net cache list | grep USERNAME Does show the user. wbinfo -u && wbinfo -g net cache list | grep username And it shows the user again, no errors any more in the logs. I cant explain why you ( and i ) see a message : cache_traverse_validate_fn: unknown cache entry i dont thinks it was an corruption in the cache tdb database, because this exist on all my member servers. imo, it is a bug some, that might have been fixed already. I did check in bugzilla, but I did not find any related, as far i can tell. https://bugzilla.samba.org/buglist.cgi?bug_status=__all__&content=cache_traverse_validate_fn&no_redirect=1&order=Importance&product=&query_format=specific Greetz, Louis Van: Stefan G. Weichinger [mailto:lists at xunil.at] Verzonden: vrijdag 20 juli 2018 12:09 Aan: L.P.H. van Belle; samba at lists.samba.org Onderwerp: RE: [Samba] cache_traverse_validate_fn: unknown cache entry Yes. On the road currently. Am 20. Juli 2018 11:58:59 MESZ schrieb "L.P.H. van Belle" <belle at bazuin.nl>: Extra info, i did not see these on the AD DC servers. Stefan, you ? Greetz, Louis -----Oorspronkelijk bericht----- Van: samba [mailto:samba-bounces at lists.samba.org] Namens L.P.H. van Belle via samba Verzonden: vrijdag 20 juli 2018 11:57 Aan: samba at lists.samba.org Onderwerp: [Samba] cache_traverse_validate_fn: unknown cache entry New subject, Samba 4.8.3 after upgrade shows. ( message from Re: [Samba] Debian Stretch Samba Packages 4.8.3 available (amd64/i386)) cache_traverse_validate_fn: unknown cache entry I've checked a few more server. I have 1 user on all server with this message. net cache flush did not resolve the message. Rowland, you any idee? It's cache so imo, not so scarry, but it would be nice fix these messages in the logs. Imo low prio, since everything works fine. Greetz, Louis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.