I am using pam_radius_auth 1.3.17 and I am having difficulty getting accounting to work. I have defined a service called openvpn in /etc/pam.d and the config lines are below
auth required /lib/security/pam_radius_auth.so debug
session required /lib/security/pam_radius_auth.so debug
account required /lib/security/pam_radius_auth.so debug
I have also created /etc/raddb/server and put in radius_server_ip:port secret time_out.
The authentication piece works fine, but we don't see any accounting packets being forwarded to the radius server (Microsoft IAS 2003).
Thanks,
BW