Bug 13361 - Multiple LDB results returned for multi-valued, mixed case indexed attributes
Summary: Multiple LDB results returned for multi-valued, mixed case indexed attributes
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.8.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on: 8929
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-29 01:47 UTC by Andrew Bartlett
Modified: 2021-08-12 01:58 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bartlett 2018-03-29 01:47:11 UTC
Samba does not prevent storage of multiple values in a single attribute if those values differ in binary, even if they are casewise equal.

That is bug 8929, however there is also the issue that if these are found, the object will be returned twice (once for each case-wise duplicate) unless GUID index mode is in use (where they are correctly suppressed).
Comment 1 Douglas Bagnall 2021-08-12 00:22:14 UTC
We'd be leaning toward WONTFIX, given everyone should now be using GUID indexes?
Comment 2 Andrew Bartlett 2021-08-12 01:58:47 UTC
GUID index mode is essentially compulsory for Samba's primary use case, and LDB is maintained for Samba, so WONTFIX and FIXED all at the same time. 

It would in theory be nice to fix for raw LDB some day.