Skip to content

Support (!(userAccountControl:1.2.840.113556.1.4.803:=2)) query #792

@mlesin

Description

@mlesin

This query is essential to mock Active Directory service.

I think it will be enough just ignore this filter rule.

Right now, mokapi fails this query:

ldapsearch -x -h localhost -p 389 -b "dc=example,dc=com" "(!(userAccountControl:1.2.840.113556.1.4.803:=2))"

with this:

time="2025-12-25T00:39:10+03:00" level=error msg="ldap error: unsupported filter 9 requested"

time="2025-12-25T00:39:10+03:00" level=error msg="ldap panic: runtime error: invalid memory address or nil pointer dereference"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions