Integrate GDM and OpenVPN

On server:

use pass auth

--auth-user-pass-verify pam-ldap-plugin

On client:

--auth-user-pass /dev/null
--auth-retry nointeract
--management 127.0.0.1 13579 /etc/ldap.secret
--management-query-passwords

then add in pam.d/auth a program that will connect to client vpn via management interface

telnet 127.0.0.1 13579
 PASSWORD:Need 'Auth' username/password
 username "Auth" foo
 password "Auth" bar
 PASSWORD:Verification Failed: 'Auth' 

.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
To prevent automated spam submissions leave this field empty.