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

    LDAP integration bug - LDAP Error Code 49

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    1 Posts 1 Posters 1.1k 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.
    • M
      moh10ly
      last edited by

      Hello coders of pfsense,

      I tried to configure LDAP integration with Pfsense and I think there's a bug with authentication method. I tried authentication anonymously but couldn't connect and using wireshark on my AD I could see this error "80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1"

      It seems that even if you set the option to not use authentication credentials and rather use anonymous method to connect to AD, it will still try to authenticate using credentials.

      so I created a user and set up a password "abc+123" and tried to connect but that didn't work either and gave me the same error (invalid credentials)
      80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1

      –

      I changed the password of the user to plain password "pfsense" without quotes and the result was successful. I could connect now without any issue.

      on some website, it says that error might be related to coding issue as these passwords get transmitted html-encodedly.

      it says this would solve it "html_decode_entities($password)"

      hope this helps improves this great software.
      ;D

      Power is Knowledge.

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