mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #997] [BUG] Unable to search using multi-value attributes #364
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#364
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 @ggodlewski on GitHub (Oct 13, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/997
Describe the bug
I created custom user attribute
mail_aliaswith multiple valuesThen I assigned multiple email addresses into the users.
To Reproduce
I want to select an user containing one of the values:
After I remove 1 of the values and list contains only 1 element it works. However the
mail-aliasvalue is not in the results.Expected behavior
I want to search for user containing email in
mail-aliaslist.@nitnelave commented on GitHub (Oct 13, 2024):
That's a known limitation of LLDAP.
The common workaround is to have
mail-alias1,mail-alias2and so on as single value attributes@nitnelave commented on GitHub (Oct 13, 2024):
You might also be interested in https://github.com/lldap/lldap/issues/995 explaining why the mail alias was not part of the response (you have to request the attribute explicitly)