Here are a couple of changes I had to make to get pam_auth from squid 2.5 STABLE4 working on Mac OS X 10.3, should be the same for 10.2:
In pam_auth.c, change "#include <security/pam_appl.h>" to "#include <pam/pam_appl.h>"
Create /etc/pam.d/squid as follows: auth required /usr/lib/pam/pam_securityserver.so account required /usr/lib/pam/pam_permit.so
Cheers, Terry
