winbind apis

simo idra at samba.org
Wed Nov 3 09:58:17 MDT 2010


On Wed, 2010-11-03 at 08:22 -0700, Jeremy Allison wrote:
> On Wed, Nov 03, 2010 at 04:19:42PM +0100, Volker Lendecke wrote:
> > On Wed, Nov 03, 2010 at 10:02:40AM -0500, Shirish Pargaonkar wrote:
> > > Not sure where to get the type bool from
> > > 
> > >  cc -o getcifsacl cifsacl.c -L /usr/local/samba/lib -I
> > > /usr/local/samba/include -l wbclient -l talloc
> > > In file included from cifsacl.c:6:
> > > /usr/local/samba/include/wbclient.h:616: error: expected declaration
> > > specifiers or â...â before âboolâ
> > > 
> > > It is in replace.h but that is not exported.
> > 
> > Crap, that's a bug in libwbclient. This should compile
> > without prerequisites.
> > 
> > Simo (and anybody else into ABI compatibility), can we
> > change the bool in
> > 
> > wbcErr wbcLookupUserSids(const struct wbcDomainSid *user_sid,
> >                          bool domain_groups_only,
> >                          uint32_t *num_sids,
> >                          struct wbcDomainSid **sids);
> > 
> > to int without a new library version?
> > 
> > Shirish, you can fix this probably by #including "stdbool.h"
> > before wbclient.h.
> 
> Wasn't bool introduced in C99 ? Do we require C99 ?

afaik the answers are yes and yes

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list