Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Openvpn Ldap group

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 578 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tripperhat
      last edited by

      Hi,

      Another issue with OpenVPN and LDAP Group.

      I have pfsense in version 2.2.5 and I have configured on my Active Directory an OU and ad hoc group for vpn access.

      I enter the user directly into the OU and the user logs in, if only the group into OU does not accept the login.

      I have configured the Extended query in a thousand different ways, but it does not work.
      Queries if I try them from tomorrow controller give me the user but openvpn does not accept me.
      Also from pfsense if I try to login always says "wrong password".

      In the Extended query this example is:
      Example: & (objectClass = inetOrgPerson) (mail = * @ example.com)

      I've tried these configurations, all without success:

      & (MemberOf = cn = VPN, ou = AccessVPN, ou = MYOU, dc = mydomain, dc = local)

      & (MemberOf = CN = VPN, OU = AccessVPN, OU = MYOU, DC = mydomain, DC = local)

      Memberof = cn = VPN, ou = AccessVPN, ou = MYOU, dc = mydomain, dc = local

      (& (Samaccountname = myuser) (memberOf: 1.2.840.113556.1.4.1941: = CN = VPN, OU = AccessVPN, OU = MYOU, DC = mydomain, DC = local))

      (MemberOf: 1.2.840.113556.1.4.1941: VPN = cn =, ou = AccessVPN, ou = MYOU, dc = mydomain, dc = local)

      Do you have any ideas? But is this configuration possible?

      Thank you

      tripper

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.