Fedora DS Schema

From Qmail-LDAP Wiki

Jump to: navigation, search

Steps to get the qmail-ldap schema working with Fedora-DS:

Note that server should be replaced by the name of your slapd server

1. Remove /opt/fedora-ds/slapd-server/config/schema/tmp/50ns-mail.ldif

(This file had some of the same attributes as the qmail schema, but not all fo them).

2. Convert the qmail.schema file to a fedora-ds style schema by running:

    $ ./ol-schema-migrate.pl -b /tmp/qmail.schema > /opt/fedora-ds/slapd-server/config/schema/55ns-qmail.ldif

The ol-schema-migrate.pl script was downloaded from http://directory.fedora.redhat.com/. The OpenLDAP->FDS Migration Howto located at the same site may also be useful for troubleshooting problems.

3. The LDIF had to be changed a bit so that the qmailAccountPurge would work. Apparently fedora-ds does not have the OID for numericStringMatch. I changed that to integerMatch instead. I hope that doesn't break anything.

Here is the schema User:Mondodrew produced: Fedora_DS_Schema_example

Personal tools