[PATCH] getgroups() gives wrong result with nss_winbind
andreas at conectiva.com.br
Wed Sep 22 14:59:21 GMT 2004
On Sun, Sep 19, 2004 at 11:47:15AM -0700, Jeremy Allison wrote:
> On Sat, Sep 18, 2004 at 06:38:36PM +0200, Henrik Nordstrom wrote:
> > Samba-3.0.7 even has code for this, but a few minor mistakes relating to
> > the limit parameter makes it never trigger.. Attached is a (untested)
> > patch which should address this and a few other bugs in the same code is
> > attached.
> This looks really good. I'll test it out and hopefully apply
> it on Monday morning (California time). Thanks a *lot* for that
> fix !
Just a quick reminder: it builds, but doesn't work at runtime because MIN is undefined:
[root at pandora ~]# su - DOMAIN\\marcia
su: error while loading shared libraries: /lib/libnss_winbind.so.2: undefined symbol: MIN
Either include some .h or just use the ? test inline.
More information about the samba-technical