Bug 4447 - WINBIND - S_PGID only defined in AIX 5.3
Summary: WINBIND - S_PGID only defined in AIX 5.3
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.25
Hardware: Other AIX
: P3 critical
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-14 06:19 UTC by William Jojo
Modified: 2007-04-03 23:28 UTC (History)
0 users

See Also:


Attachments
Patch winbind_nss_aix.c for AIX 5.2 (1.12 KB, patch)
2007-03-14 06:21 UTC, William Jojo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Jojo 2007-03-14 06:19:51 UTC
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
Comment 1 William Jojo 2007-03-14 06:21:33 UTC
Created attachment 2327 [details]
Patch winbind_nss_aix.c for AIX 5.2

Fix build of WINBIND on AIX 5.2
Comment 2 Gerald (Jerry) Carter (dead mail address) 2007-04-03 23:28:36 UTC
Applied.  Thanks Bill.