[Samba] pam compile problem on AIX

samba at braingia.org samba at braingia.org
Mon Feb 28 18:09:38 GMT 2005


Trying to compile Samba --with-winbind, --with-ads, --with-krb5 and
--with-pam on AIX 5.2.  I receive the set of errors shown below before
the compile fails in pam_winbind.c. 

This happens with Samba 3.0.11, 3.0.10, and 3.0.4 (shown below).

The ultimate goal is to have users be able to telnet or ssh into the AIX
boxen with their credentials actually stored in AD.

What am I doing wrong?  Are there additional libraries that need to be 
installed on AIX in order to pam_winbind.c to compile?

Compiling nsswitch/pam_winbind.c with -O2
nsswitch/pam_winbind.c: In function `converse':
nsswitch/pam_winbind.c:67: warning: passing arg 3 of `pam_get_item' from 
incompatible pointer type
nsswitch/pam_winbind.c:70: warning: passing arg 2 of pointer to function 
from incompatible pointer type
nsswitch/pam_winbind.c: In function `_make_remark':
nsswitch/pam_winbind.c:85: warning: assignment discards qualifiers from 
pointer target type
nsswitch/pam_winbind.c: In function `_winbind_read_password':
nsswitch/pam_winbind.c:297: warning: passing arg 3 of `pam_get_item' 
from incompatible pointer type
nsswitch/pam_winbind.c:309: error: `PAM_AUTHTOK_RECOVER_ERR' undeclared 
(first use in this function)
nsswitch/pam_winbind.c:309: error: (Each undeclared identifier is 
reported only once
nsswitch/pam_winbind.c:309: error: for each function it appears in.)
nsswitch/pam_winbind.c:330: warning: assignment discards qualifiers from 
pointer target type
nsswitch/pam_winbind.c:338: warning: assignment discards qualifiers from 
pointer target type
nsswitch/pam_winbind.c:344: warning: assignment discards qualifiers from 
pointer target type
nsswitch/pam_winbind.c:402: warning: passing arg 3 of `pam_get_item' 
from incompatible pointer type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:417: error: syntax error before "int"
nsswitch/pam_winbind.c: In function `pam_sm_authenticate':
nsswitch/pam_winbind.c:428: warning: passing arg 2 of `pam_get_user' 
from incompatible pointer type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:461: error: syntax error before "int"
nsswitch/pam_winbind.c:472: error: syntax error before "int"
nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt':
nsswitch/pam_winbind.c:482: warning: passing arg 2 of `pam_get_user' 
from incompatible pointer type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:518: error: syntax error before "int"
nsswitch/pam_winbind.c:528: error: syntax error before "int"
nsswitch/pam_winbind.c:540: error: syntax error before "int"
nsswitch/pam_winbind.c: In function `pam_sm_chauthtok':
nsswitch/pam_winbind.c:559: warning: passing arg 2 of `pam_get_user' 
from incompatible pointer type
nsswitch/pam_winbind.c:636: warning: passing arg 3 of `pam_get_item' 
from incompatible pointer type
gmake: *** [nsswitch/pam_winbind.po] Error 1



More information about the samba mailing list