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

RE : Can I read the schema using LDAP?



Try simply :

[root@YOUR_BOX bin]$ ./ldapsearch -h YOUR_BOX -p 389 -b "" -s base "(objectclass=*)" subschemasubentry
# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: subschemasubentry
#

#
dn:
subschemaSubentry: cn=Subschema

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1


That's the magical self discovering offered by LDAP.
-- 
BB