We're trying to get the Zimbra Collaboration Suite to talk to a Fedora Directory Server (Zimbra by default uses its own version of OpenLDAP). Zimbra includes LDAP schema files, and we've tried to use Mike Jackson's schema migration tool ol-schema-migrate.pl as well as the ol2rhds.pl script. The problem appears to be that the schema in question makes heavy use of the OpenLDAP OID Macros (see http://www.openldap.org/doc/admin23/schema.html , the "OID Macros" section at the bottom of the page).
Does anyone know of any tools which would help?
A sample of the original schema is:
objectIdentifier ZimbraRoot 1.3.6.1.4.1.19348 objectIdentifier ZimbraLDAP ZimbraRoot:2 ... objectIdentifier ZimbraAttrType ZimbraLDAP:1 ... objectIdentifier zimbraComponentAvailable ZimbraAttrType:242 ... attributetype ( zimbraComponentAvailable NAME 'zimbraComponentAvailable' DESC 'Names of additonal components that have been installed' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{64} )
The complete schema can be viewed at - http://cvs.zimbra.com:8080/viewrep/~raw,r=1.48/zimbra_main/ZimbraServer/conf...
My understanding is that OpenLDAP knows to replace the "attributetype ( zimbraComponentAvailable" with "attributetype ( 1.3.6.1.4.1.19348.2.242" (or something similar).
The referenced perl scripts output:
attributeTypes: ( zimbraComponentAvailable NAME 'zimbraComponentAvailable' DESC 'Names of additonal components that have been installed' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{64} )
which fails to load properly as the symbolic name "zimbraComponentAvailable" is not replaced by the actual value.
Anyway, any help would be very appreciated.
Thanks,
Robert r. Sanders wrote:
We're trying to get the Zimbra Collaboration Suite to talk to a Fedora Directory Server (Zimbra by default uses its own version of OpenLDAP). Zimbra includes LDAP schema files, and we've tried to use Mike Jackson's schema migration tool ol-schema-migrate.pl as well as the ol2rhds.pl script. The problem appears to be that the schema in question makes heavy use of the OpenLDAP OID Macros (see http://www.openldap.org/doc/admin23/schema.html , the "OID Macros" section at the bottom of the page).
Hi, Somebody contributed an OID macro patch once, but it did not work very well and I had to reverse it.
If you are in a hurry, just go through the file and replace the macros, then run the migration tool.
BR, -- mike
Robert r. Sanders wrote:
We're trying to get the Zimbra Collaboration Suite to talk to a Fedora Directory Server (Zimbra by default uses its own version of OpenLDAP). Zimbra includes LDAP schema files, and we've tried to use Mike Jackson's schema migration tool ol-schema-migrate.pl as well as the ol2rhds.pl script. The problem appears to be that the schema in question makes heavy use of the OpenLDAP OID Macros (see http://www.openldap.org/doc/admin23/schema.html , the "OID Macros" section at the bottom of the page).
Does anyone know of any tools which would help?
If your OpenLDAP schema is readable via LDAP, then the LdapImport.pl tool should be able to read your schema from OpenLDAP and write it directly to a running FDS server:
http://wiki.babel.com.au/index.php?area=Linux_Projects&page=LdapImport
389-users@lists.fedoraproject.org