auth_pam + pam_radius_auth.so + Calling-Station-ID
Posted: Wed Feb 15, 2012 4:34 pm
Hi,
I'm new in the forum.
I authenticate remote roadwarrior via PAM Radius successfully. But with some of this clients I need the possibility to check the Calling-Station-ID on the Radius Server. I've tryied, but with no success.
The pam_radius_auth.so can send the Calling-Station-ID if the PAM_RHOST is set-up by service (openvpn in this case), but this variable is not set up by OpenVPN (or auth_pam plugin, I don't know).
It's possibile to find a workaround or/and can you modify source code to implement this functionality?
Another minor question: is it possible to authenticate a client with username, password and certificate but with a check on sameness about username and CN of certificate?
Thanks in advance
P.S.: I've written in this Topic because for me is an Authentication Script issue, but maybe for you is better in Wishlist Topic.
I'm new in the forum.
I authenticate remote roadwarrior via PAM Radius successfully. But with some of this clients I need the possibility to check the Calling-Station-ID on the Radius Server. I've tryied, but with no success.
The pam_radius_auth.so can send the Calling-Station-ID if the PAM_RHOST is set-up by service (openvpn in this case), but this variable is not set up by OpenVPN (or auth_pam plugin, I don't know).
It's possibile to find a workaround or/and can you modify source code to implement this functionality?
Another minor question: is it possible to authenticate a client with username, password and certificate but with a check on sameness about username and CN of certificate?
Thanks in advance
P.S.: I've written in this Topic because for me is an Authentication Script issue, but maybe for you is better in Wishlist Topic.