Samba 3.0.25pre1 WINBIND doesn't compile on AIX 5.2 without a patch. Compiling nsswitch/winbind_nss_aix.c nsswitch/winbind_nss_aix.c: In function 'wb_aix_user_attrib': nsswitch/winbind_nss_aix.c:632: error: 'S_PGID' undeclared (first use in this function) nsswitch/winbind_nss_aix.c:632: error: (Each undeclared identifier is reported only once nsswitch/winbind_nss_aix.c:632: error: for each function it appears in.) nsswitch/winbind_nss_aix.c: In function 'wb_aix_attrlist': nsswitch/winbind_nss_aix.c:772: error: 'S_PGID' undeclared (first use in this function) The following command failed: gcc -I. -I/stage/samba/samba-3.0.25pre1/source -I/opt/pware/include -O -D_SAMBA_BUILD_=3 -I/stage/samba/samba-3.0.25pre1/source/popt -I/stage/samba/samba-3.0.25pre1/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/opt/pware/include -I/opt/pware/include -I/opt/pware/include -DLDAP_DEPRECATED -I/stage/samba/samba-3.0.25pre1/source/lib -D_SAMBA_BUILD_=3 -O2 -c nsswitch/winbind_nss_aix.c -o nsswitch/winbind_nss_aix.o make: *** [nsswitch/winbind_nss_aix.o] Error 1
Created attachment 2327 [details] Patch winbind_nss_aix.c for AIX 5.2 Fix build of WINBIND on AIX 5.2
Applied. Thanks Bill.