working winbind for AIX
Roylance, Stephen D.
SROYLANCE at PARTNERS.ORG
Tue Mar 25 22:05:23 GMT 2003
Still a work-in-progress, but this compiles and works as expected on AIX
5.1.
I haven't implemented getgrset yet, the NSS API is pretty different from AIX
in that case. It also needs a mechanism to allocate more memory when the
winbind response is larger than 4096 bytes. I had to copy fill_pwent,
fill_grent, next_token and get_static from winbind_nss.c because they
currently IFDEF out on AIX because of the lack of NSS API (I think).
Compile with:
gcc -o WINBIND winbind_aix.c -lsys -lcsys -lc -I../include -I.. -Xlinker
-bM:SRE -Xlinker -ewb_aix_init wb_common.o
Feedback would be nice, does anybody other than me need this?
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winbind_aix.c
Type: application/octet-stream
Size: 8799 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030325/da97e8ad/winbind_aix.obj
More information about the samba-technical
mailing list