local-auth + LDAP-auth

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
francois1
OpenVpn Newbie
Posts: 3
Joined: Sun Jul 05, 2020 5:49 pm

local-auth + LDAP-auth

Post by francois1 » Tue Jul 07, 2020 3:47 pm

Hi,

With Openvpn CE, is it possible to have both local-auth & ldap-auth working ?
If so, how ?
Cauz adding LDAP make the client ask for User/Passwd.
And try to make the authentication through the LDAP plugin.
whereas i want to use only cert authentication via local-auth.

Thx for help !

TinCanTech
OpenVPN Protagonist
Posts: 11138
Joined: Fri Jun 03, 2016 1:17 pm

Re: local-auth + LDAP-auth

Post by TinCanTech » Tue Jul 07, 2020 5:08 pm

Francois, you have made two posts essentially asking the same nonsensical question.

This one:
francois1 wrote:
Tue Jul 07, 2020 3:47 pm
try to make the authentication through the LDAP plugin.
whereas i want to use only cert authentication via local-auth
:?:

and this one: viewtopic.php?f=22&t=30578&p=92860#p92860
francois1 wrote:
Sun Jul 05, 2020 5:52 pm
Hi,

I have a VPN server running. with several computers connecting with their certificates.
Now i ve added LDAP with Google Cloud Identity.

But it seems activating LDAP makes my old crt/key access not possible.
How can i do to be compatible with older version of handling connection ?

These are computers with no people attached.
Can someone help ?

Thanks !
  • If you don't have users using the VPN then why do you need user/pass ?
Perhaps, start with sections 15 & 16 here:
https://community.openvpn.net/openvpn/wiki/HOWTO

francois1
OpenVpn Newbie
Posts: 3
Joined: Sun Jul 05, 2020 5:49 pm

Re: local-auth + LDAP-auth

Post by francois1 » Wed Jul 08, 2020 8:25 am

Thx for the non sensical ! You know how to welcome people, what a pleasure ! :)

Anyway...
I read section 15 and 16 but for a brain like mine, its not obvious...
So i dont see the answer.

My need is to use :
- LDAP for the people of my company
- local for servers

By the way i tried to remove 1st post but i couldnt :
- i though it was in wrong section
- i thought it was not clear (and may be why nobody answered)

Thank you,
Bye

TinCanTech
OpenVPN Protagonist
Posts: 11138
Joined: Fri Jun 03, 2016 1:17 pm

Re: local-auth + LDAP-auth

Post by TinCanTech » Wed Jul 08, 2020 12:05 pm

francois1 wrote:
Wed Jul 08, 2020 8:25 am
i thought it was not clear (and may be why nobody answered)
It is still not clear ..

Write it in your native language and have google translate it for you ..

francois1
OpenVpn Newbie
Posts: 3
Joined: Sun Jul 05, 2020 5:49 pm

Re: local-auth + LDAP-auth

Post by francois1 » Wed Jul 08, 2020 2:18 pm

Are you sure you are an OpenVpn protagonist?!?
If you dont understand im not sure my english is the reason :)

Have a nice day and thx for trying your best!

TinCanTech
OpenVPN Protagonist
Posts: 11138
Joined: Fri Jun 03, 2016 1:17 pm

Re: local-auth + LDAP-auth

Post by TinCanTech » Wed Jul 08, 2020 3:10 pm

Anybody else wants to comment ?
I have no idea what the problem is ..

Post Reply