nss_winbind.so segfaults on NetBSD

Felix J. Ogris fjo-lists at ogris.de
Wed Jul 27 14:30:18 MDT 2011


Hi,

on NetBSD, getgroupmembership() takes 5 arguments.
netbsdwinbind_getgroupmembership() in nsswitch/winbind_nss_netbsd.c
doesn't fetch the basegid (2nd argument to getgroupmembership()). Also,
struct passwd contains an entry char *pw_class, which should be set to
an empty string in fill_pwent() in nsswitch/winbind_nss_linux.c

-Felix
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba-3.5.10.nss_winbind.netbsd.patch
Type: text/x-patch
Size: 2764 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110727/05bd01df/attachment.bin>


More information about the samba-technical mailing list