Thanks Joe,
I've discussed it with the others and they agree an ldif file is a good way to version our products, ie: every new version can have a new ldif file associated with it. I've actually seen different types of ldif formats so I'm confused as to what to look for in terms of research. Wikkipedia gave this example of ldif:
dn: CN=John Smith,OU=Legal,DC=example,DC=com
changetype: modify
replace:employeeID
employeeID: 1234
-
replace:employeeNumber
employeeNumber: 98722
-
replace: extensionAttribute6
extensionAttribute6: JSmith98
-
Here the ldif file modifications to the values of a particular entry. Using LDAPAdmin, a client application for exploring LDAP enabled directories, I asked to export the entire thing to an LDIF file. It created a list of all the classe objects and attributes along with matching rules and syntax. An example is:
dn: 2.5.4.3=schema,2.5.4.11=system
attributeTypes: ( 2.5.4.49 NAME 'distinguishedName' DESC 'RFC2256: common supert
ype of DN attributes' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.
115.121.1.12 USAGE userApplications )
objectClasses: ( 1.3.6.1.4.1.4203.1.4.1 NAME ( 'OpenLDAProotDSE' 'LDAProotDSE' )
DESC 'OpenLDAP Root DSE object' SUP top STRUCTURAL MAY cn )
matchingRules: ( 2.5.13.10 NAME 'numericStringSubstringsMatch' SYNTAX 1.3.6.1.4
.1.1466.115.121.1.58 )
ldapSyntaxes: ( 1.3.6.1.4.1.1466.115.121.1.47 NAME 'Supplier Or Consumer' )
These both seem quite different. The first looks more organized with a DN login at the top and then a series of command keywords terminated by the finished symbol '-'. The second is what I would probably have to make in order to describe my own classes and attributes. I'm not clear on if matchingRules and ldapSyntaxes is something I would need to create. Also there are a lot of keywords here like NAME and DESC. Where could I get a list off all keywords that LDIF files use?