Bug 13852 - Empty attributes list across LDAP
Summary: Empty attributes list across LDAP
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
Depends on:
Reported: 2019-03-21 05:10 UTC by Aaron Haslett (dead mail address)
Modified: 2019-03-29 00:40 UTC (History)
1 user (show)

See Also:

ildap empty attrs patch (2.10 KB, patch)
2019-03-28 03:13 UTC, Aaron Haslett (dead mail address)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Haslett (dead mail address) 2019-03-21 05:10:16 UTC
An LDB request interprets an empty attribute list as a request for no attributes, but LDAP interprets an empty list as a request for all attributes, and ["1.1"] as a request for no attributes, as per RFC4511:  We need to convert [] to ["1.1"] in the ildap module before the request goes out.
Comment 1 Aaron Haslett (dead mail address) 2019-03-28 03:13:45 UTC
Created attachment 15014 [details]
ildap empty attrs patch

Fix and knownfail delete