I have a debian squeeze machine that acts as RADIUS client talking with the Freeradius server. I have configured PAM on the client, so made following changes.
Added radiusd to /etc/pam.d which contains -
@include common-auth @include common-account @include common-password @include common-session
Added following line to /etc/pam.d/common_auth
auth sufficient pam_radius_auth.so
Added following line to /etc/pam.d/common_account
account required pam_radius_auth.so
Added following line to /etc/pam.d/common_session
session required pam_radius_auth.so
Added server-ip and secret key to /etc/pam_radius_auth.conf
Authentication and accounting works fine after I configure the above on the client. As soon as I reboot client, login fails with error - "cannot make/remove an entry for the specified session". Cannot login into the client.
Maybe unrelated, but do I have to execute pam-auth-update. Before the login failure error, I see a message "cannot remove /usr/share/pam-configs/radius : No such file or directory"