Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    pfSense: unable to retrieve group membership

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 688 Views 2 Watching
    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.
    • M
      Mark Seedha
      last edited by

      I'm trying to restrict pfSense LDAP authentication to the users belonging only to a specific LDAP group.

      I configured the Authentication Servers as per documentation but apparently pfSense is unable to obtain user's groups membership. The server is OpenLDAP, the configuration is:

      Search Scope: one level
      BaseDN: dc=DOMAIN,dc=it
      Authentication containers: ou=Users
      User naming attribute: uid
      Group naming attribute: cn
      Group member attribute: memberUid
      RFC 2307 Groups: enabled
      Group Object Class: posixGroup
      Auth test works but it appears unable to retrieve groups membership:

      User yetopen authenticated successfully. This user is a member of groups:

      And if I enable Extended query (tried a lot of different config, latest memberOf=CN=openvpn,OU=Groups,DC=DOMAIN,DC=it) it won't authenticate the user.

      pfSense 2.4.3, openLDAP 2.4.42

      1 Reply Last reply
      Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        It actually shows you that error or it just returns no groups?

        Do those groups exist in pfSense with identical names?

        Why are you running that old version of pfSense? You should upgrade when you can.

        Steve

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy