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

    User Manager using LDAP but OU with spaces not working ?

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 1.6k 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.
    • H
      HCJ
      last edited by

      Hi,

      I wonder if someone who has this working can clarify if it works with a space in the OU name?

      I've successfully setup the ldap link (as far as I am aware), I can click on select under Authentication containers and comes up with the areas I want to tick.

      When I try and log in under Diagnostics - Authenication, it says The following input errors were detected: Authentication failed. if the account is in the area with a space, if I use the ldap account, which is just in users, it logs in fine.

      Any ideas?

      1 Reply Last reply Reply Quote 0
      • B
        BeerCan
        last edited by

        you can try and escape the space with \20 and see if that works

        so
        ou=OU WithSpace
        becomes
        ou=OU\20WithSpace

        Otherwise you should post your settings so we can see what is going on.
        Including but not limited to
        Extend queries set?
        Settings for
        User naming attribute
        Group naming attribute
        Group member attribute

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          might also be %20 as escape for space. so would be ou=OU%20WithSpace

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • H
            HCJ
            last edited by

            thanks - I tried those two suggestions, but still not working :(

            I've attached screenshot - please let me know what you think.

            Capture.PNG
            Capture.PNG_thumb

            1 Reply Last reply Reply Quote 0
            • B
              BeerCan
              last edited by

              try

              User naming attribute = samAccountName
              Group naming attribute = cn
              Group member attribute = memberOf

              There is more but I am late for a meeting :)

              1 Reply Last reply Reply Quote 0
              • H
                HCJ
                last edited by

                @BeerCan:

                try

                User naming attribute = samAccountName
                Group naming attribute = cn
                Group member attribute = memberOf

                There is more but I am late for a meeting :)

                perfect thank you, that works under Diagnostics - Authenication and with the space in the OU name (no need for %20 etc).

                Now how do I allow this to log on to pfsense for report monitoring ?

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