Re: [Openvpn-devel] patch for openvpn-auth-pam plugin to pass PAM_RHOST variable

2018-01-29 Thread Selva Nair
Hi, Thanks for the patch. But its mangled by the mailer with extra line breaks -- please resend using git-send-email. Anyway, some quick comments On Mon, Jan 29, 2018 at 6:30 AM, Martin T wrote: > Hi! > > Currently openvpn-auth-pam plugin does not set PAM_RHOST(requesting > host) variable. This

[Openvpn-devel] patch for openvpn-auth-pam plugin to pass PAM_RHOST variable

2018-01-29 Thread Martin T
Hi! Currently openvpn-auth-pam plugin does not set PAM_RHOST(requesting host) variable. This is needed when for example pam_access.so plugin is used and based on OpenVPN client network, different authentication methods are desired. Proof of concept patch for PAM_RHOST is following: --- /var/tmp/a