Bug 13852 - Empty attributes list across LDAP
Empty attributes list across LDAP
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
unspecified
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-21 05:10 UTC by Aaron Haslett
Modified: 2019-03-29 00:40 UTC (History)
1 user (show)

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Haslett 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:4.5.1.8(SearchRequest.attributes).  We need to convert [] to ["1.1"] in the ildap module before the request goes out.
Comment 1 Aaron Haslett 2019-03-28 03:13:45 UTC
Created attachment 15014 [details]
ildap empty attrs patch

Fix and knownfail delete