Hi, I have read in some document that pam-devel packages provide the required header information. But unfortunately I am unable to get any links to download these pam-devel packages for AIX. Can any one give me a link as to where I can download this package? I would like to try with this option and see if the error gets sorted out. In the mean while if any of you have any more suggestions, Please fell free to share it to me. Thanks all Regards, Chandana -----Original Message----- From: pam-list-bounces@xxxxxxxxxx [mailto:pam-list-bounces@xxxxxxxxxx] On Behalf Of Justin Ferguson Sent: Thursday, February 10, 2005 9:35 AM To: Pluggable Authentication Modules Subject: Re: FW:PAM error while executing "make" for samba on aix5.2 > nsswitch/pam_winbind.c:341: error: `PAM_AUTHTOK_RECOVER_ERR' > undeclared (first use in this function) This is your actual error, and it causes all the parse errors and such on lines following this one- generally this is the result of either forgetting to include a header file, or missing one (or more). On my linux box its defined in: /usr/include/security/_pam_types.h:#define PAM_AUTHTOK_RECOVER_ERR 21 /* Authentication information */ And is also included by security/pam_appl.h and security/pam_modules.h . I'm not positive what package provides these, I'd imagine the pam base, however I could be wrong- I'd look for those files, and if you find it- grep it for the PAM_AUTHTOK_RECOVER_ERR, or just grep -r PAM_AUTHTOK_RECOVER_ERR /usr/include , if you find it #include it in the relevant files. If you don't, then I'd try to find out what provides it and install it. Hope that helped some, best of luck J. Ferguson Security Analyst CWIE, LLC. Chandana.Varsha@xxxxxxxxxxxxxxxxxx wrote: > 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. > > > ------------------------------------------------------------------------ > > _______________________________________________ > > Pam-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/pam-list _______________________________________________ Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list 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. _______________________________________________ Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list