LDAP Authentication?
Posted: Tue Dec 11, 2012 5:11 pm
I setup OpenVP and it's working great for local users. I want to implement LDAP authentication. Our LDAP Server uses Start TLS, not SSL. I do not see an option for StartTLS in the OpenVPN web interface, only SSL.
I did notice that it uses PAM for authentication, I figure I will hook the box to the LDAP server and let OpenVPN use PAM to authenticate.
I am running openvpn 2.2.2 on Centos 6. I have been reading tons of articles but none of them are really tailored towards Centos..The configuration files dont add up. I used rpm-i openvpn2.2.2.rpm to install the server.
It seems like I am supposed to add this line to one of the PAM config files:
auth sufficient pam_ldap.so config=/etc/openvpn/openvpn.conf
But the way I installed openVPN, my /etc/openvpn/ folder is empty. I just dont think that would work.
Could anyone help me out here? Where do I add that line? Where do I generate an openvpn.conf?
Bah I hate Linux sometimes. Thanks for any help!
I did notice that it uses PAM for authentication, I figure I will hook the box to the LDAP server and let OpenVPN use PAM to authenticate.
I am running openvpn 2.2.2 on Centos 6. I have been reading tons of articles but none of them are really tailored towards Centos..The configuration files dont add up. I used rpm-i openvpn2.2.2.rpm to install the server.
It seems like I am supposed to add this line to one of the PAM config files:
auth sufficient pam_ldap.so config=/etc/openvpn/openvpn.conf
But the way I installed openVPN, my /etc/openvpn/ folder is empty. I just dont think that would work.
Could anyone help me out here? Where do I add that line? Where do I generate an openvpn.conf?
Bah I hate Linux sometimes. Thanks for any help!