Bug 1761 - source/nsswitch/winbind_nss_aix.c specific to AIX 5.2
source/nsswitch/winbind_nss_aix.c specific to AIX 5.2
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: winbind
3.0.7
PPC AIX
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-14 15:33 UTC by The Written Word
Modified: 2005-08-24 10:22 UTC (History)
0 users

See Also:


Attachments
Patch (1.65 KB, patch)
2004-09-14 15:34 UTC, The Written Word
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description The Written Word 2004-09-14 15:33:31 UTC
AIX 4.3.x and 5.1 do not have as many members in struct secmethod_table as AIX 5.2.

When trying to build on AIX 5.1:
xlc -I. -I/opt/build/samba-3.0.7/source -O2 -qmaxmem=-1 -qarch=com
-D_LINUX_SOURCE_COMPAT -qmaxmem=32000 -I./popt -Iinclude
-I/opt/build/samba-3.0.7/source/include -I/opt/build/samba-3.0.7/source/ubiqx
-I/opt/build/samba-3.0.7/source/smbwrapper -I. -I/opt/TWWfsw/readline43s/include
-I/opt/TWWfsw/readline43s/include -I/opt/TWWfsw/openldap2127/include
-I/opt/build/samba-3.0.7/source -O2 -c nsswitch/winbind_nss_aix.c -o
nsswitch/winbind_nss_aix.po
"/usr/include/usersec.h", line 625.32: 1506-310 (I) The type "struct aud_rec"
was introduced in a parameter list, and will go out of scope at the end of the
function declaration or definition.
"/usr/include/usersec.h", line 626.34: 1506-310 (I) The type "struct aud_rec"
was introduced in a parameter list, and will go out of scope at the end of the
function declaration or definition.
"nsswitch/winbind_nss_aix.c", line 167.31: 1506-283 (E) Functions cannot be
declared static at block scope, static is ignored.
"nsswitch/winbind_nss_aix.c", line 980.18: 1506-022 (S) "method_version" is not
a member of "struct secmethod_table".
"nsswitch/winbind_nss_aix.c", line 980.35: 1506-045 (S) Undeclared identifier
SECMETHOD_VERSION_520.

When trying to build on AIX 4.3.3:
xlc -I. -I/opt/build/samba-3.0.7/source -O2 -qmaxmem=-1 -qarch=com
-D_LINUX_SOURCE_COMPAT -qmaxmem=32000 -I./popt -Iinclude
-I/opt/build/samba-3.0.7/source/include -I/opt/build/samba-3.0.7/source/ubiqx
-I/opt/build/samba-3.0.7/source/smbwrapper -I. -I/opt/TWWfsw/readline43s/include
-I/opt/TWWfsw/readline43s/include -I/opt/TWWfsw/openldap2127/include
-D_LARGE_FILES -I/opt/build/samba-3.0.7/source -O2 -c nsswitch/winbind_nss_aix.c
-o nsswitch/winbind_nss_aix.po
"/usr/include/usersec.h", line 599.32: 1506-310 (I) The type "struct aud_rec"
was introduced in a parameter list, and will go out of scope at the end of the
function declaration or definition.
"/usr/include/usersec.h", line 600.34: 1506-310 (I) The type "struct aud_rec"
was introduced in a parameter list, and will go out of scope at the end of the
function declaration or definition.
"nsswitch/winbind_nss_aix.c", line 167.31: 1506-283 (E) Functions cannot be
declared static at block scope, static is ignored.
"nsswitch/winbind_nss_aix.c", line 747.8: 1506-166 (S) Definition of function
attrlist_t requires parentheses.
"nsswitch/winbind_nss_aix.c", line 747.19: 1506-276 (S) Syntax error: possible
missing '{'?
"nsswitch/winbind_nss_aix.c", line 749.22: 1506-045 (S) Undeclared identifier ret.
"nsswitch/winbind_nss_aix.c", line 749.9: 1506-045 (S) Undeclared identifier
attrlist_t.
"nsswitch/winbind_nss_aix.c", line 751.43: 1506-046 (S) Syntax error.
"nsswitch/winbind_nss_aix.c", line 751.21: 1506-098 (E) Missing argument(s).
"nsswitch/winbind_nss_aix.c", line 751.65: 1506-275 (S) Unexpected text ')'
encountered.
"nsswitch/winbind_nss_aix.c", line 757.31: 1506-275 (S) Unexpected text ')'
encountered.
"nsswitch/winbind_nss_aix.c", line 757.39: 1506-277 (S) Syntax error: possible
missing ')' or ','?
"nsswitch/winbind_nss_aix.c", line 761.28: 1506-045 (S) Undeclared identifier
AL_USERATTR.
"nsswitch/winbind_nss_aix.c", line 980.18: 1506-022 (S) "method_version" is not
a member of "struct secmethod_table".
"nsswitch/winbind_nss_aix.c", line 980.35: 1506-045 (S) Undeclared identifier
SECMETHOD_VERSION_520.
"nsswitch/winbind_nss_aix.c", line 989.44: 1506-068 (E) Operation between types
"int(*)(void*)" and "void(*)(void*)" is not allowed.
"nsswitch/winbind_nss_aix.c", line 993.44: 1506-068 (E) Operation between types
"int(*)(char*)" and "char*(*)(char*)" is not allowed.
"nsswitch/winbind_nss_aix.c", line 998.44: 1506-068 (E) Operation between types
"int(*)(void*,int)" and "struct group*(*)(void*,int)" is not allowed.
"nsswitch/winbind_nss_aix.c", line 1000.18: 1506-022 (S) "method_attrlist" is
not a member of "struct secmethod_table".
"nsswitch/winbind_nss_aix.c", line 1000.46: 1506-045 (S) Undeclared identifier
wb_aix_attrlist.
Comment 1 The Written Word 2004-09-14 15:34:05 UTC
Created attachment 658 [details]
Patch
Comment 2 Tim Potter 2004-09-30 19:56:05 UTC
Checked in - thanks!
Comment 3 Gerald (Jerry) Carter 2005-08-24 10:22:52 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.