bug in winbind

Lin Li linl at corel.com
Thu Dec 14 17:06:33 GMT 2000


Hi,

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.

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.

Thanks,
Lin
--
Lin Li
Corel Corporation

Experience CorelDRAW® 10 Graphics Suite - creative power with an
attitude.
Visit http://www.corel.com/draw10.






More information about the samba mailing list