Dumping NDS Schema
Articles and Tips: qna
01 Sep 2001
Q.
Dear Ab-end: Is there an easy way to dump the NDS schema to a text file, preferably via LDAP? I tried ldapsearch cn=schema objectclass=*, but nothing returned. Specifically, the attributes of user objects (preferably with data types). Obviously I can do this from the GUI in C1, but I need it in text format for others. -- Dumping in Dachau
A.
Dear Dumping: Two possibilities here:
The following command line should work from ldapsearch:
ldapsearch -h <host> -D <bind dn> -w <password> -b "cn=schema" -s base "objectclass=subSchema"
You could also use the ICE utility (from the LDAP C SDK) and output the results in LDIF format.
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.