mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #1343] [BUG] Unexpected return for ldapsearch, success instead of error #471
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#471
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @armfem on GitHub (Oct 31, 2025).
Original GitHub issue: https://github.com/lldap/lldap/issues/1343
Originally assigned to: @Copilot on GitHub.
Describe the bug
LLDAP does not return the expected return for an ldapsearch.
One of the bad effects of this is that ldap python's library can have unexpected behaviors. See the additional context for a concrete example.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The expected behavior would be for LLDAP to return the following error:
Specifically the
result:32 No such object.Additional context
For more context, I found this bug while trying to solve the following ansible issue https://github.com/ansible-collections/community.general/issues/10393
@nitnelave commented on GitHub (Oct 31, 2025):
That is very much me misreading the spec and not realizing that "no result" should be an error (I still find it weird, but shrug).
This needs to be fixed indeed.
@armfem commented on GitHub (Oct 31, 2025):
Glad i could help :)
I guess the error is more a security measure in case someone without enough rights is trying to poke different entries.