>attribute "1.1" when they want no attributes returned: Asking for any
>attribute suppresses the default behavior of returning all user attrs.
>And there should be no attribute with OID "1.1". So when slapd looks
>it up, that'll fail and be treated as any other unrecognized attribute.
For my tests I simply use the ldapsearch, no passing by a client program.
Example:
ldapsearch -x -b "dc=test,dc=com" "(sn=*)" street
-> this gives "street" in attName[iAtt].an_name.bv_val
ldapsearch -x -b "dc=test,dc=com" "(sn=*)" _street
-> this gives "1.1" in attName[iAtt].an_name.bv_val
In the 2.4.23 version of OpenLDAP this worked well. I found "_street" in the an_name.
I would then remove the _ before the attribute name so it would be send as a valid attribute to the server.
Johan Jakus