Authentication against LDAP server and fixed IP's

This forum is for admins who are looking to build or expand their OpenVPN setup.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
chechu
OpenVpn Newbie
Posts: 2
Joined: Thu Feb 28, 2013 11:25 am

Authentication against LDAP server and fixed IP's

Post by chechu » Thu Feb 28, 2013 11:59 am

Hey guys,

I have a OpenVPN network set up, authenticating against a LDAP server. The problem is that I can not fixed the IP's for the servers, I would like to have the clients with floating IP's, and the servers with fixed Ip's.

I tried client-config-dir /etc/openvpn/ccd, that works for other environments that I set up in the past with certificates, but for the authentication with LDAP is not working :(

Could you me help me ??

Thanks in advance

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Authentication against LDAP server and fixed IP's

Post by maikcat » Thu Feb 28, 2013 2:03 pm

--username-as-common-name
For --auth-user-pass-verify authentication, use the authenticated username as the
common name, rather than the common name from the client cert.
use ccd files with the above directive..

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply