Missing talloc_steal in winbindd_list_users_recv (Re: winbind: Remove wbint_QueryUserList?)

Andrew Bartlett abartlet at samba.org
Tue Jan 10 20:34:11 UTC 2017


On Tue, 2017-01-10 at 09:54 +0100, Stefan Metzmacher wrote:
> 
> With more output I got
> 
> 09:40 < metze>
> metze:../nsswitch/libwbclient/wbc_sid.c:890:wbcCtxListUsers:
> response.data.num_entries[5] extra[]
> 09:40 < metze>
> metze:../nsswitch/libwbclient/wbc_sid.c:915:wbcCtxListUsers:
> current[0ok:+] next[(nil)] num_users[1]
> 09:40 < metze>
> metze:../nsswitch/libwbclient/wbc_sid.c:920:wbcCtxListUsers:
> WBC_ERR_INVALID_RESPONSE 1 != 5
> 09:40 < metze> ../nsswitch/wbinfo.c:2097:print_domain_users:
> WBC_ERR_INVALID_RESPONSE
> 
> While the printing result in winbindd_list_users_recv() shows some
> sane.
> 
> The attached patch should fix the problem.
> 
> I'll push this shortly.

Great work.  Thank you so much!

Andrew Bartlett

> Thanks!
> metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170111/f0cafa41/signature.sig>


More information about the samba-technical mailing list