[Date Prev][Date Next]
RE: get all possible attributes of one objectclass
There's just no way to get the schema for just one objectclass. It
would require a search with a value-matching control which openldap
doesn't support. You're stuck getting the whole schema (at least
all the objectclass definitions) and parsing to get what you
From: Marcel Bruch [mailto:firstname.lastname@example.org]
Sent: Monday, August 06, 2001 12:33 PM
To: Pierangelo Masarati
Subject: Re: get all possible attributes of one objectclass
my knowledge about LDAP-enabled directory servers isn´t as good as it
should be for such am programming - but I will try to do my best !
Whats the search syntax for a particular objectclass ?
ldapsearch -b "cn=subschema" -s base objectclass=* 'objectclass=person'
Pierangelo Masarati wrote:
> as an example of parsing code you may look at servers/slapd/schemaparse.c
> or try to write one according to RFC 2252