LDAP Authentication?

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
zstarman
OpenVpn Newbie
Posts: 11
Joined: Mon Dec 10, 2012 9:11 pm

LDAP Authentication?

Post by zstarman » 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!

zstarman
OpenVpn Newbie
Posts: 11
Joined: Mon Dec 10, 2012 9:11 pm

Re: LDAP Authentication?

Post by zstarman » Tue Dec 11, 2012 5:24 pm

It seems that whenever I post my question on these forums, things start magically working 2 minutes later.

I might post soon, but only to kickstart things :)

Thanks for the help

By the way no config files were needed for editing.

Post Reply