Emmanuel Lécharny wrote:
Hi guys,
after havng done some cleanup for the Lookup and Search operation, I'm
looking at the List operation, and I wonder if we should not just get
rid of it, except on the JNDO layer ?
The List operation is just a special form of teh Search operation, with
ONE_LEVEL scope and a (ObjectClass=*) filter.
This is the same argument the original LDAP designers made, vs X.500 with its
List operation. I no longer remember all the pros and cons of this debate, but
I have the feeling the X.500 guys had a good reason for including this
operation in the original spec...
I suggest we keep it on the API leve, but map it to a search request
behind the scene (especially in the partition interface).
Pretty sure this is what X.500 to LDAP gateways are forced to do anyway.
Thoughts ?
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/