Under FreeBSD following warnings come out: Compiling nsswitch/pam_winbind.c with -fPIC -DPIC nsswitch/pam_winbind.c: In function `_make_remark': nsswitch/pam_winbind.c:194: warning: assignment discards qualifiers from pointer target type nsswitch/pam_winbind.c: In function `_winbind_read_password': nsswitch/pam_winbind.c:695: warning: assignment discards qualifiers from pointer target type nsswitch/pam_winbind.c:703: warning: assignment discards qualifiers from pointer target type nsswitch/pam_winbind.c:709: warning: assignment discards qualifiers from pointer target type nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt': nsswitch/pam_winbind.c:981: warning: passing arg 3 of `pam_get_data' from incompatible pointer type Here is the patch, that addresses them. Ok, seems, last line fix create warnings on linux :(
Created attachment 1893 [details] warnings cleanup
Fixed with r15478. Volker