winbind build/link question
Tim Potter
tpot at samba.org
Tue Mar 25 22:54:07 GMT 2003
On Tue, Mar 25, 2003 at 12:37:33PM -0500, Roylance, Stephen D. wrote:
> I'm trying to use some of the functions in winbind_nss.c in my winbind_aix.c
> module. It compiles, but when I try to link it fill_pwent is unresolved.
> What do I need to link against in order to get fill_pwent and such from
> winbind_nss.c? I tried making nsswitch/winbind_nss.o and linking against
> that, but it still didn't resolve fill_pwent.
The fill_pwent function is static in winbind_nss.c You are probably
trying to call it directly from your winbind_aix.c which won't work.
Can winbind_aix.c be modelled like winbind_solaris.c? That is, wrapper
functions abstract out the vendor specific nss stuff which then call the
_nss_winbind_* functions.
Tim.
More information about the samba-technical
mailing list