[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: How to get schema ?
Earlier today, jacek czerwinski wrote:
> Right, but under openldap ?
>
> http://www.openldap.org/faq/data/cache/262.html
OpenLDAP 1.x supports LDAPv2, and thus doesn't support schema advertisement
via "cn=schema".
OpenLDAP 2.x (still in development) also supports LDAPv3 and does support
schema advertisement via "cn=schema":
% ldapsearch -L -h ldap -b "cn=monitor" -s base "objectclass=*" version
dn: CN=MONITOR
version: @(#) $OpenLDAP: slapd 2.0-devel (Saturday September 4 15:33:46 EST 1
999) $
% ldapsearch -L -h ldap -b "cn=schema" -s base "objectclass=subschema" \
objectclass objectclasses attributetypes
dn: CN=SCHEMA
attributetypes: [...]
[...]
objectclasses: [...]
[...]
objectclass: top
objectclass: LDAPsubentry
objectclass: subschema
objectclass: extensibleObject
> > See my article at
> > http://developer.iplanet.com/viewsource/wilcox_schema.html
> >
> > > How to get schema via LDAP (not from file /etc/ldap/.......)
Cheers..
dave