winbind apis

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Nov 3 09:19:42 MDT 2010

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.


More information about the samba-technical mailing list