Testing out samba 3.3 from git, pam_winbind fails to compile. Commenting out the undeclared PAM lines, allows compilation to continue. Compiling nsswitch/pam_winbind.c nsswitch/pam_winbind.c: In function '_pam_error_code_str': nsswitch/pam_winbind.c:74: error: 'PAM_MODULE_UNKNOWN' undeclared (first use in this function) nsswitch/pam_winbind.c:74: error: (Each undeclared identifier is reported only once nsswitch/pam_winbind.c:74: error: for each function it appears in.) nsswitch/pam_winbind.c:76: error: 'PAM_BAD_ITEM' undeclared (first use in this function) nsswitch/pam_winbind.c:78: error: 'PAM_CONV_AGAIN' undeclared (first use in this function) nsswitch/pam_winbind.c:80: error: 'PAM_INCOMPLETE' undeclared (first use in this function) nsswitch/pam_winbind.c: In function '_pam_get_item': nsswitch/pam_winbind.c:115: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type nsswitch/pam_winbind.c: In function '_pam_log_state_datum': nsswitch/pam_winbind.c:251: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type nsswitch/pam_winbind.c: In function 'converse': nsswitch/pam_winbind.c:575: warning: passing argument 2 of 'conv->conv' from incompatible pointer type nsswitch/pam_winbind.c: In function 'pam_sm_authenticate': nsswitch/pam_winbind.c:2039: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type nsswitch/pam_winbind.c: In function 'pam_sm_acct_mgmt': nsswitch/pam_winbind.c:2242: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type nsswitch/pam_winbind.c: In function 'pam_sm_close_session': nsswitch/pam_winbind.c:2376: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type nsswitch/pam_winbind.c: In function 'pam_sm_chauthtok': nsswitch/pam_winbind.c:2518: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type The following command failed: gcc -I/opt/csw/include -O -I. -I/usr/local/src/samba3.3/source3 -I/usr/local/src/samba3.3/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/opt/csw/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tdb/include -I./libaddns -I./librpc -I./../lib/popt -DLDAP_DEPRECATED -DSUNOS5 -I/include -I/usr/local/src/samba3.3/source3/lib -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c nsswitch/pam_winbind.c -o nsswitch/pam_winbind.o gmake: *** [nsswitch/pam_winbind.o] Error 1
Created attachment 3620 [details] fix pam_winbind diff This should be fixed in recent git, can you try the attached patch?
Updated to today's git checkout. Seems to have fixed it. Thanks!