Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openvpn-auth-ldap.so plugin not being loaded in CentOS 7 #297

Open
kindred opened this issue Oct 11, 2018 · 1 comment
Open

openvpn-auth-ldap.so plugin not being loaded in CentOS 7 #297

kindred opened this issue Oct 11, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@kindred
Copy link

kindred commented Oct 11, 2018

I am deploying an openvpn server on CentOS 7, and openvpn fails to start due to an invalid config. I've traced it to this line (https://github.com/voxpupuli/puppet-openvpn/blob/master/manifests/params.pp#L33) unsetting the lib file. This writes out an invalid plugin line in the config causing the following error to appear.

Thu Oct 11 10:49:30 2018 us=958804 PLUGIN_INIT: could not load plugin shared object /etc/openvpn/vpnserver/auth/ldap.conf: /etc/openvpn/vpnserver/auth/ldap.conf: invalid ELF header: No such file or directory (errno=2)

The config looks like this:
plugin "/etc/openvpn/vpnserver/auth/ldap.conf"

when it should look like this:
plugin /usr/lib64/openvpn/plugin/lib/openvpn-auth-ldap.so "/etc/openvpn/vpnserver/auth/ldap.conf"

Error is in the current commit, as well as the module on puppetforge which I'm currently trying to use.

@bastelfreak
Copy link
Member

Hey @kindred, thanks for reporting this. Can you provide a pull request for this bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants