api7 / api7/lua-resty-ldap

Unable to use filters like 'member=uid=jprjr,ou=people...'

Open
#28 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Terra
Stars
10
Forks
10
PR merge metrics
No merged PRs in 30d

Description

I'm trying to do a search for groups that a user is a member of, as far as I can tell this filter is valid, assuming there's a group with a member named 'uid=jprjr' like:

(member=uid=john,ou=people,dc=example,dc=com)

But when I try to search I get a syntax error when compiling the filter.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Use the shown (member=uid=john,ou=people,dc=example,dc=com) filter as the starting reproducer and trace where filter compilation reports the syntax error. The work is done when this group-membership search filter compiles and searches successfully, with a regression check for the reported form.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
backend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.