mirror of
https://github.com/lldap/lldap.git
synced 2026-04-26 00:36:01 +03:00
[GH-ISSUE #1085] [BUG] ldapsearch only return the DN #391
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#391
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 @minionflo on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/lldap/lldap/issues/1085
Describe the bug
ldapsearch only return the DN
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect to see the user atributes
Logs
Additional context
I have created a user with the uid minionflo and set firstname, lastname, displayname, and email other than that it is a brand new instance
@broeng commented on GitHub (Jan 23, 2025):
For some reason, you are explicitly only requesting an attribute that is either empty or only whitespace/newline. See
attrs: [""])near the end. Based on theIgnoring unrecognized group attribute: \n\warnings, it might be a newline?I think something is wrong with how you called ldapsearch. What command did you run exactly?
When I run:
That "attrs" list is just empty, not a list containing an empty string.
@minionflo commented on GitHub (Jan 23, 2025):
i figured it out... i was calling ldapsearch with an empty filter. Removed the filter now it works fine