#Export odsee schema via apache directory studio update#
To modify the schema you use ldapmodify and update the cn=schemasubentry object at the root of the directory and add the relevant attributes. In my case I wanted the name customAttr1 and customAttr2 for the attributes and customClass1 for the objectclass. I stood on his shoulders for this post.įirst things first you need to figure out names for your attributes and objectclass. the hard way) and thought I’d write down my steps to save you the trouble of figuring it out for yourself.
So I had to extend the schema via ldapsearch/ldapmodify (i.e. I recently had to extend my LDAP schema of an OID 11g directory and I didn’t have access to the ODSM GUI (for reasons that aren’t important). I think if I had a personal motto it would be something like “if I can’t script it then I’m not interested.” (well that or “oh look, shiny!”)
It’s like the difference between knowing SQL and having to use TOAD or Access (*shudder*) to add rows to a db table Ldapsearch and ldapmodify are about 10 times better than a stupid GUI because you can script everything. I recently said the following to someone in an IMversation: