Skip to content

Support arbitrary ldapfilters via AST parsing and internal backend querying #95

Description

@runleveldev

Currently, the LDAPServer only supports a limited set of hardcoded LDAP filters using regex parsing. This restricts the ability to perform complex queries using the LDAP protocol. To improve flexibility and standards compliance:

  • The directory backend should be enhanced to parse LDAP filters into an Abstract Syntax Tree (AST).
  • The backend should maintain an internal representation (IR) that can be queried using the AST, enabling support for arbitrary LDAP filters beyond the current hardcoded list.
  • The implementation should replace the regex-based approach and provide full compatibility with standard LDAP search filters.

This change will allow clients to use a broader range of filter types and expressions when querying the directory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions