How do I integrate ICS5.x with openLDAP?

How do I integrate ICS5.x with openLDAP?
[14 byte] By [709053] at [2007-11-25 4:42:06]
# 1

I struggled mightily to get openLDAP to work with iPlanet?s Calendar Server 5.x (ICS5.) The upshot of the problem is that ICS5 has some unique schemas that need to migrate their way into openLDAP. What I?ve done is use the Perl script migrateSchemaTo5.pl supplied in the ICS5 opt/perl directory to migrate the following old style (pre r5) schema files that iPlanet supplies in the directory C:\iPlanet\CalendarServer5\cal\bin\config to LDIF format:

ics50-schema.conf (most important)

ns-wcal-schema.conf (not so important, may be able to survive without this one)

um50-common-schema.conf (important, ics50-schema.conf relies on this one)

Once in LDIF format, it is easy to grep through them and convert to the .schema format of the other openLDAP schema files supplied in the <openldap-root>/schema directory. Alas, the problems don?t end there as openLDAP complains if there are empty MUST or MAY clauses in the .schema files, so get rid of any of those.

When done, I put the new .schema files in the schema directory and included them in the slapd.conf file as such:

includec:/openldap/schema/inetorgperson.schema

includec:/openldap/schema/ns-wcal.schema

includec:/openldap/schema/um50-common.schema

includec:/openldap/schema/ics50.schema

Note that order is important as ics50.schema, for example, depends upon the um50 schema file being loaded first. If you have difficulty starting slapd after adding the schema files, add one at a time and monkey with the individual files until it works and proceed to the next.

You?ll know you have a fully functional implementation of ICS 5.x if you can successfully subscribe to multiple calendars. Check the http.log in the <ICS5root>/var/logs directory for any errors in adding LDAP entries to the directory for verification.

Hope this helps! -Jake

709053 at 2007-6-29 3:18:23 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 2
I'm having problems finding the migrateSchemaTo5.pl script mentioned in this thread.Is this script still present in the current version of Calendar Server?
benruntime at 2007-6-29 3:18:23 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...