linOTP开放的VPNauthenticationUbuntu的12.04
我正在一个项目中,我必须安装一次性密码authentication。 我已经成功地安装了可以在没有任何身份validation的情况下连接到的openVPN。 我已经安装了连接到我的LDAP服务器的OTP软件linOTP。 到LDAP服务器的连接正在运行,并且我已经为用户分配了一个令牌。 当使用debugging接口testing令牌时:// myip:5001 / validate / check它打印响应: { "version": "LinOTP 2.8.0.3", "jsonrpc": "2.0", "result": { "status": true, "value": true }, "id": 0 } 这意味着linOTPauthentication正在运行,但是当我在openVPN服务器上启用密码authentication时,authentication失败。 AUTH-PAM: BACKGROUND: user 'jdoe' failed to authenticate: Authentication failure 我已经根据这个指南做了所有的configuration: https : //www.howtoforge.com/how-to-set-up-openvpn-to-authenticate-with-linotp 这就是我的client.ovpn的样子: client dev tun proto udp resolv-retry infinite nobind persist-key persist-tun ca ca.crt cert jdoe.crt […]