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.
Lin Li wrote:> > Hi, > > I'm using winbind in the samba-appliance-0.5.replace the head source code in that snapshot with the latest CVS HEAD code and try again. We are working on getting all the necessary functions from the TNG code over to HEAD. CHeers, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com/ VA Linux Systems gcarter@valinux.com http://www.samba.org/ SAMBA Team jerry@samba.org http://www.plainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
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.