[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] openvpn-auth-pam.so problem


  • Subject: Re: [Openvpn-users] openvpn-auth-pam.so problem
  • From: Gavin Chappell <G.A.Chappell@xxxxxxxxxxx>
  • Date: Fri, 02 Jun 2006 08:46:16 +0100

Giancarlo Razzolini wrote:
> Gavin Chappell wrote:
>> OK, I've attached a log with verbosity set to 7 (I hope this mailing
>> list can cope with attachments, if not then let me know and I'll upload
>> it somewhere). While it gives me plenty of information about the OpenVPN
>> process, I still only seem to get two lines regarding the PAM plugin.
> Very strange. But try to do as i said, create a new service entry for
> openvpn, like /etc/pam.d/openvpn with the following lines:
> #%PAM-1.0
> auth required /lib/security/pam_stack.so service=system-auth
> password required /lib/security/pam_stack.so service=system-auth
> 
> This should do the trick.

OK, I tried this with the contents just as you said, and changed my 
OpenVPN server config to point to the "openvpn" service rather than 
"login" as it is in the HOWTO. Now when I restart I get:

Jun  2 08:43:16 el03 openvpn[22519]: PLUGIN_INIT: POST 
/usr/share/openvpn/plugin/lib/openvpn-auth-pam.so 'openvpn' 
intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
Jun  2 08:43:16 el03 openvpn[22519]: PLUGIN_INIT: plugin initialization 
function failed: /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so

This is obviously the same messages however, with the word "login" 
replaced by "openvpn".

Regards,
Gavin


_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-06/msg00022.html on line 208

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-06/msg00022.html on line 208