We are trying to set up OpenVPN with ldap support via openvpn-auth-ldap on CentOS7.

The EPEL repository is not listing openvpn-auth-ldap anymore for CentOS7. For CentOS6, there was a working relase.

We can not find any working release for CentOS7. The earlier builds won't run. They result in missing dependencies, etc. We did not find a solution on the web, thats why we ask here.

Is there a solution with an alternative plugin for openvpn or do we need to downgrade to CentOS6?

  • Not sure why this isn't being built. You could always ask the maintainer, or grab the source RPM and rebuild it for EL7 yourself, e.g. in Copr? – Michael Hampton Aug 25 '15 at 18:03
  • Asking the maintainer is a good idea. Can systemd be a Problem? They switched with version 7. The source repo does'nt seem to get a lot of attention. – Hugie Aug 25 '15 at 18:18
  • We solved this now by switching to Ubuntu 14.04 LTS. The module is available there and it works without problems. So the question is still valid, but sadly not important for us anymore. – Hugie Sep 1 '15 at 11:11

EDIT: This is in EPEL for EL7. Avoid my Copr listed below, as I've backported some security fixes into EPEL that aren't in the Copr.

I was able to take the openvpn-auth-ldap-2.0.3-14.fc21 SRPM and make a few really minor tweaks to update it for the current version of OpenVPN, which makes use of a new plugin version. I've tested it on CentOS 7 with OpenVPN 2.3.10-1 (installed from EPEL) and it seems to be working properly.

While I'm reaching out to people about getting it in EPEL, it is available on my Copr.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.