Calling winbind from C/C++
Tim Potter
tpot at samba.org
Wed Oct 17 15:25:02 GMT 2001
Mike Papper writes:
> Heres what I include:
>
> #include "includes.h"
> #include "winbindd.h"
>
> which is the same as "wbinfo.c"
I don't think including includes.h and all the associated other
samba include files is actually necessary. For a small winbind
client I have written I only needed:
#include "winbind_nss_config.h"
#include "winbindd_nss.h"
I then copied wb_common.c from nsswitch into the project and
compiled and linked it with the rest of the client code.
Tim.
More information about the samba-technical
mailing list