[Pkg-samba-maint] Bug#820965: [regression]: net usersidlist: Could not malloc sid array Could not get the user/sid list
Paul Wise
pabs at debian.org
Tue Apr 19 09:10:07 UTC 2016
FYI: submitters aren't subscribed to Debian bugs by default so if you
have information for them or require information from them, please CC.
On Thu, 14 Apr 2016 19:20:41 +1200 Andrew Bartlett wrote:
> My best guess is that winbindd wasn't in a happy state after the
> upgrade. 'net cache flush' or similar may have helped.
In this case there was no upgrade, just installation and domain join.
`net cache flush` did not help here.
Restarting winbind did not help.
> That is, I think wbcListUsers() returned 0 entries, which causes other
> code to think a realloc of length 0 'failed'.
That appears to be correct:
(gdb) n
4965 wbc_status = wbcListUsers(NULL, &num_users, &users);
(gdb)
4966 if (!WBC_ERROR_IS_OK(wbc_status)) {
(gdb) p wbc_status
$1 = WBC_ERR_UNKNOWN_FAILURE
(gdb) p num_users
$2 = 0
(gdb) p users
$3 = (const char **) 0x5555558340d0
> wbinfo -u would probably have failed in a similar way, but with a more
> useful error message.
`wbinfo -u` returns 0 and does not print anything at all, even with --verbose.
`wbinfo -g` does work though.
--
bye,
pabs
https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20160419/be650b5c/attachment.sig>
More information about the Pkg-samba-maint
mailing list