On 17/12/16 23:57, Jeff Sadowski wrote:
> I am able to validate with local users using the following configs.
> However if I try a domain user it fails to authenticate.
> 
> The same domain user authenticates with freeradius.
> 
> server.conf
> --------------------------
> port 1194
> proto udp
> dev tun
> topology subnet
> server 192.168.3.0 255.255.255.0
> push "route 192.168.1.0 255.255.255.0"
> client-to-client
> keepalive 10 120
> comp-lzo
> max-clients 10
> persist-key
> persist-tun
> status /var/log/openvpn-status.log
> verb 3
> management localhost 7505
> ca /etc/openvpn/keys/ca.crt
> cert /etc/openvpn/keys/jeff-server.crt
> key /etc/openvpn/keys/jeff-server.key
> dh /etc/openvpn/keys/dh2048.pem
> crl-verify /etc/openvpn/keys/crl.pem
> plugin /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so openvpn
> -----------------------------
> 
> 
> client.ovpn
> ---------------------
> client
> dev tun
> proto udp
> remote methanemaker.mooo.com <http://methanemaker.mooo.com> 1194
> resolv-retry infinite
> nobind
> persist-key
> persist-tun
> ca ca.crt
> cert jeffs-phone.crt
> key jeffs-phone.key
> dh dh2048.pem
> ns-cert-type server
> comp-lzo
> verb 3
> script-security 2
> route-method adaptive
> route-delay 2
> auth-user-pass
> -----------------------
> 
> /etc/pam.d/openvpn
> -----------------------
> auth     required pam_unix.so
> account  required pam_unix.so
> password required pam_ldap.so
> session  required pam_ldap.so
> -----------------------
> 

This is more of a PAM question than OpenVPN, and my PAM knowledge is
somewhat limited.

However, I wonder if at least account should be pam_ldap.so as well,
perhaps even also auth.



-- 
kind regards,

David Sommerseth
OpenVPN Technologies, Inc


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to