Hi ,
We are trying to install Samba and integrate AIX 5.2 servers with ADS.
We have installed the following packages –
GCC
M4
AutoConf 2.57
AutoMake 1.7.2
Libtool
Berkeleydb4.1.5
Flex
KRB5 1.3.1
openldap_2.1.23
Next we are installing Samba 3.0.9 on AIX5.2 , we have completed
configure with the following options –
./configure --with-winbind --with-ldap --with-ads --with-pam
But while running “make” we are getting the below errors
–
nsswitch/pam_winbind.c: In function
`_make_remark':
nsswitch/pam_winbind.c:89: warning:
assignment discards qualifiers from pointer
target type
nsswitch/pam_winbind.c: In function
`_winbind_read_password':
nsswitch/pam_winbind.c:329: warning:
passing arg 3 of `pam_get_item' from incomp
atible pointer type
nsswitch/pam_winbind.c:341: error:
`PAM_AUTHTOK_RECOVER_ERR' undeclared (first u
se in this function)
nsswitch/pam_winbind.c:341: error: (Each undeclared
identifier is reported only
once
nsswitch/pam_winbind.c:341: error: for
each function it appears in.)
nsswitch/pam_winbind.c:362: warning:
assignment discards qualifiers from pointer
target type
nsswitch/pam_winbind.c:370: warning:
assignment discards qualifiers from pointer
target type
nsswitch/pam_winbind.c:376: warning:
assignment discards qualifiers from pointer
target type
nsswitch/pam_winbind.c:434: warning:
passing arg 3 of `pam_get_item' from incomp
atible pointer type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:449: error: syntax
error before "int"
nsswitch/pam_winbind.c: In function
`pam_sm_authenticate':
nsswitch/pam_winbind.c:462: warning:
passing arg 2 of `pam_get_user' from incomp
atible pointer type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:513: error: syntax
error before "int"
nsswitch/pam_winbind.c:524: error: syntax
error before "int"
nsswitch/pam_winbind.c: In function
`pam_sm_acct_mgmt':
nsswitch/pam_winbind.c:534: warning:
passing arg 2 of `pam_get_user' from incomp
atible pointer type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:570: error: syntax
error before "int"
nsswitch/pam_winbind.c:580: error: syntax
error before "int"
nsswitch/pam_winbind.c:592: error: syntax
error before "int"
nsswitch/pam_winbind.c: In function
`pam_sm_chauthtok':
nsswitch/pam_winbind.c:612: warning:
passing arg 2 of `pam_get_user' from incomp
atible pointer type
nsswitch/pam_winbind.c:689: warning:
passing arg 3 of `pam_get_item' from incomp
atible pointer type
make: 1254-004 The error code from the
last command is 1
Please also let me know what the exact procedure to install samba on
AIX is and what are the packages which needs to be installed on aix before
successfully installing samba on it?
Please help us install samba on AIX as we are struck up with it from a
very long time and we are running out of our project schedules.
And are there any binary versions available for AIX which is
precompiled with ADS, PAM and winbind options?
Thanks in advance.
Regards
Chandana
Facilities Management Group
I-flex solutions Ltd