EFW Support

Support => VPN Support => Topic started by: n9yty on Tuesday 19 January 2010, 12:52:12 pm



Title: LDAP Auth in OpenVPN ?
Post by: n9yty on Tuesday 19 January 2010, 12:52:12 pm
I was trying to use the instructions I found here on my community 2.3 install of endian:

http://kb.endian.com/entry/64/

But two issues...

First, anything that touches the VPN GUI config wipes out these changes, I would hope that it would preserve config items it doesn't know about but it seems to just rewrite them from scratch every time.

Second, it doesn't work.  ???  I just get auth failed messages.

One thing I wasn't sure about was the example provided for LDAP_USER_SEARCHFILTER=(uid=%(u)s) -- should that trailing s be in there?  I tried it both with and without and it doesn't seem to work either way.

Anyone have this working?


Title: Re: LDAP Auth in OpenVPN ?
Post by: magu on Wednesday 20 January 2010, 02:30:12 pm
When making changes to the config via the terminal, remember to modify the .tmpl files, which Endian uses to generate the actual .conf files used by OpenVPN.

I had it working with 2.3 and Active Directory for my previous employer, but I no longer have access to the script. I did submit it to the Endian team a while ago, though.


Title: Re: LDAP Auth in OpenVPN ?
Post by: livio on Thursday 11 February 2010, 11:35:54 pm
any chance of someone submitting that script please?
Any hints?