[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Getting all attributes for a particular objectclass



Hi Kurt,
	Thanks for the reply. 
Just a thought.....matached values control is not being supported by many ldap servers ( does any ldap server support it yet ??)......this would severly contriant a user from knowing the schema for a particular objectclass or attributetype. Do you see a case for this feature being a part of the vanila LDAP v3 standard itself and not just a additional control. 
Any thoughts ??

Thanks & Regards,
Prasad

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 06/19/00 07:16PM >>>
At 04:27 AM 6/19/00 -0600, Vithalprasad Gaitonde wrote:
>Hi,
>	Is there any way in LDAP v3 by which I can get schema for a particular objectclass or for a particular attribyteType.

You can use assert (using compare) that the particular attributeType
is defined (e.g. assert cn is a value of AttributeTypes).  Or, using
returned matched values only control, use a search (attributeTypes=cn).

>The cn=schema search gets the entire schema. But how do I get it only for a particular objectclass and a particular attributeType.
>Does anyone have ideas ?

You need a control to be able to read a subset of values of a
particular attribute type within a given entry (or subentry).

Kurt