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

Re: Can I query an attribute's type?



At 08:16 PM 8/30/2006, Michael B Allen wrote:
>Good! So how do you return a list of attribute names with certain
>attribute syntax oids?

You fetch all the attribute type descriptions, parse them
(see <ldap_schema.h>), and then check the see if they
have the desired syntax.

Note that before attempting to write code doing so,
you might want to take time to read up on the LDAP
schema model.  RFC 4512 is, IMHO, a good place to
start.

-- Kurt