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

    Authenticate against OpenLDAP Groups

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 564 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.
    • P Offline
      p3tter
      last edited by

      Hi,

      I have configured a UCS Univention server with OpenLDAP. I'm trying to authenticate against the OpenLDAP server with pfsense,
      which only works without any filtering. I.E, filtering to a LDAP user group doesnt work.

      Im running latest PFsense version. My pfsense LDAP settings attached as a picture.

      I have played around with all different sort of LDAP filters/extended queries but all of them give me this in the log:

      /diag_authentication.php: ERROR! Either LDAP search failed, or multiple users were found.
      

      if I authenticate without using any filtering with the  diagnose authentication tool i receive this:

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

      Where groups is empty…

      Im using the same LDAP group for my webserver (owncloud) and it works without any problems there to filter users against groups.

      Thanks in advance,

      pfsenseLDAP.png
      pfsenseLDAP.png_thumb

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