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


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to