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.
Created attachment 15014 [details] ildap empty attrs patch Fix and knownfail delete
Created attachment 18801 [details] Patch version 2 Updated patch with extra tests.
This bug was referenced in samba master: 2a5135fe15e9391a2c9a6b7292fa8094e7754966
Created attachment 18802 [details] patch for 4.24, 4.23, 4.22