[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Importing from Sun ONE Directory server
Hi,
On Monday 20 October 2003 12:53, Kyrre Kristiansen wrote:
> OK, but how do I create it?
> Is there a tool, etc?
have a look at the LDIF file you have been given, and then have a look at the
OpenLDAP schema files.
There should be some similarities:
* "attributetypes: ...." lines in the LDIF and "attributetype ( ... )" lines
in the schema
* "objectclasses: ..." lines in the LDIF and "objectclass ( ... )" lines
in the schema
Please note that LDIF as well as schema files consider Lines that start with a
space/TAB as continuation if the previous lines.
Now fire up your editor and adapt the attributetype and objectclass
definitions in your LDIF file to the exact format the OpenLDAP schema files
use. The existing schema files srve as examples and the slapd.conf man page
gives the formal definition.
Any other statements can be deleted.
One thing you should keep in mind is that OpenLDAP requires valid OIDs
and not only spacehlder strings as some other directory srevers allow.
Peter.
--
Peter Marschall
eMail: peter@adpm.de