winbind: Fix lookuprids cache problem

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14435
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jul  9 21:40:52 UTC 2020 on sn-devel-184

(cherry picked from commit cd4122d9)
35 jobs for vl/45079b073c7 in 73 minutes and 11 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #632595830
docker shared
centos7-samba-o3

01:07:06

passed #632595831
docker shared
centos8-samba-o3

01:11:19

passed #632595802
docker shared
ctdb

00:42:13

passed #632595826
docker shared
debian10-samba-o3

00:53:58

passed #632595832
docker shared
fedora31-samba-o3

01:02:05

passed #632595833
docker shared
fedora32-samba-o3

00:59:02

passed #632595827
docker shared
opensuse150-samba-o3

01:07:52

passed #632595829
docker shared
opensuse151-samba-o3

01:05:33

passed #632595780
docker shared
others

00:26:14

passed #632595781
shared docker
samba

00:35:32

passed #632595818
docker samba-ci-private
samba-ad-dc-1

00:42:37

passed #632595823
docker samba-ci-private
samba-ad-dc-1-mitkrb5

00:36:32

passed #632595790
docker shared
samba-ad-dc-2

01:13:08

passed #632595792
docker shared
samba-ad-dc-3

00:30:52

passed #632595794
docker shared
samba-ad-dc-4

01:06:27

passed #632595807
docker shared
samba-ad-dc-4-mitkrb5

00:41:38

passed #632595796
docker shared
samba-ad-dc-5

00:54:38

passed #632595798
docker shared
samba-ad-dc-6

00:47:12

passed #632595813
docker samba-ci-private
samba-ad-dc-backup

00:46:48

passed #632595804
docker shared
samba-ad-dc-ntvfs

00:44:00

passed #632595788
docker shared
samba-admem

00:20:11

passed #632595805
docker shared
samba-admem-mit

00:20:41

passed #632595803
docker shared
samba-ctdb

00:13:48

passed #632595816
docker samba-ci-private
samba-fileserver

00:30:31

passed #632595809
docker shared
samba-fips

00:09:58

passed #632595801
docker shared
samba-fuzz

00:21:30

passed #632595799
docker shared
samba-libs

00:47:49

passed #632595782
docker shared
samba-mitkrb5

00:28:05

passed #632595784
docker shared
samba-nopython

00:39:29

passed #632595786
docker shared
samba-nopython-py2

00:47:13

passed #632595821
docker samba-ci-private
samba-nt4

00:46:53

passed #632595822
docker samba-ci-private
samba-schemaupgrade

00:26:46

passed #632595800
docker shared
samba-static

00:47:28

passed #632595824
docker shared
ubuntu1804-samba-o3

01:01:50

passed #632595825
docker shared
ubuntu2004-samba-o3

01:01:53