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

Chandana.Varsha at iflexsolutions.com Chandana.Varsha at iflexsolutions.com
Thu Feb 10 10:34:41 UTC 2005


Hi,

Thanks for the response. This has solved one of the errors. 
Now after adding the suggested like to CFLAGS, while "make" I am still
getting the following error. 

Please help.


Compiling nsswitch/pam_winbind.c with -O2
nsswitch/pam_winbind.c: In function `converse':
nsswitch/pam_winbind.c:71: warning: passing arg 3 of `pam_get_item' from
incompa
tible pointer type
nsswitch/pam_winbind.c:74: warning: passing arg 2 of pointer to function
from in
compatible pointer type
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: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.


Stop.
#

Thanks a lot

Rgds...Chandana

-----Original Message-----
From: pam-list-bounces at redhat.com [mailto:pam-list-bounces at redhat.com]
On Behalf Of Darren Tucker
Sent: Thursday, February 10, 2005 3:47 PM
To: Pluggable Authentication Modules
Subject: Re: FW:PAM error while executing "make" for samba on aix5.2

Chandana.Varsha at iflexsolutions.com wrote:
> 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.

There is no equivalent to pam-devel for AIX 5.2, the base OS includes
all 
of the headers and libraries required to build PAM apps.

> 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.

The problem appears to be that AIX has a different definition: 
PAM_AUTHTOK_RECOVERY_ERR.

Adding "-DPAM_AUTHTOK_RECOVER_ERR=PAM_AUTHTOK_RECOVERY_ERR" to CFLAGS 
ought to do it.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

_______________________________________________
Pam-list mailing list
Pam-list at redhat.com
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.




More information about the Pam-list mailing list