On Thu, 14 Apr 2016 14:06:00 +0800 Paul Wise <p...@debian.org> wrote: > On Thu, 14 Apr 2016 13:52:10 +0800 Paul Wise wrote: > > > The upgrade of samba in the Debian security archive has caused an error > > with net usersidlist, it is now unable to retrieve the user SID list: > > Somehow I was able to make the error go away by downgrading the samba > packages to 2:4.1.17+dfsg-2+deb8u2 and running `net usersidlist` again > and then upgrading back to 2:4.2.10+dfsg-0+deb8u1 again.
My best guess is that winbindd wasn't in a happy state after the upgrade. 'net cache flush' or similar may have helped. That is, I think wbcListUsers() returned 0 entries, which causes other code to think a realloc of length 0 'failed'. wbinfo -u would probably have failed in a similar way, but with a more useful error message. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba