Documenting eDirectory/LDAP Schema

Documenting eDirectory/LDAP Schema

Problem



A Forum reader recently asked:



"Is there any software that will document the eDirectory/LDAP schema? I want to document how many class there are in my LDAP, what are the attributes attached to each class, their types, etc."



And here's the response from eDirectory expert Jim Henderson ...



Solution



Use this ICE command:



ICE -S LDAP -s yourserver.dns.name.here -p 636 -d cn=youradmin,o=yourorg
-w yourpassword -b cn=schema -c base -D LDIF -f schema.ldif


This will give you an LDIF file with all the schema information.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Comments
Hi,

Is there a quick way to modify that schema ldif for OpenLDAP?

Hello, 

I am looking for a way to extend existing field in eDirectory. I have an attribute that is 8 char in length, requirement is to extend it to 15 chars.

Please help me with any documentation.

Thanks!

Sri

Once an attribute is defined, changing the schema, while possible, is ill advised. You would require to backup all values, delete the attribute from schema, then add it back, and restore all the values. If it is part of eDir's shipping 'base' schema then it is very tricky to change. It is actually possible but again very ill advised. (Mostly because certain repair tools will 'fix' it back in certain cases without telling you, since it is clearly broken after your change).
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2006-12-13 08:00
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.