FW:PAM error while executing "make" for samba on aix5.2

Chandana.Varsha at iflexsolutions.com Chandana.Varsha at iflexsolutions.com
Thu Feb 10 04:04:13 UTC 2005


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

 

 



DISCLAIMER:
This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pam-list/attachments/20050210/ed642d03/attachment.htm>


More information about the Pam-list mailing list