bug in winbind

Tim Potter tpot at linuxcare.com.au
Fri Dec 15 02:07:18 GMT 2000


Lin Li writes:

> I'm using winbind in the samba-appliance-0.5. I got an Internal Error:
> signal 11. I traced the process and found a bug in the function
> _nss_winbind_getgrent_r in winbind_nss.c. Before calling function
> fill_grent, it first adjust group membership offset. But this should not
> be done if it is a called_again caused by out of memory in function
> fill_grent. I added if (!called_again) before the adjust. It works.

Can you try downloading and compiling winbind from the SAMBA_TNG
branch?  The appliance release code is now quite old.

> I found the implementation in samba-2.2.0-alpha1 is different, and I
> even failed in compiling the winbind in that release. In
> winbindd_util.c, client_list was not decleared before use.

The 2.2.0 alpha code was copied from HEAD which was copied over
months ago just to see if it would compile.  It doesn't actually
work in thie branch.  (-: You are best off to look at the
SAMBA_TNG code for the latest winbind stuff.


Regards,

Tim.





More information about the samba mailing list