[Date Prev][Date Next]
Re: Convert *.schema to *.ldif
- To: email@example.com
- Subject: Re: Convert *.schema to *.ldif
- From: Mauricio Tavares <firstname.lastname@example.org>
- Date: Tue, 3 Apr 2012 09:48:34 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=VDmvlZWKBoshkjSk3ZMc1RwQ8uJCR7ZdGDAEKaaHlF4=; b=qQxBmcknqvXRucIMHwgHjv/ftGUNmyOZREgS1hIgGqEJJzdmz1qZYNGgeGJDyu4uVw +9xwpKgoFj05VL10M0LeK1VR89IfszGgPYx6E2T1QvANSRBRw8zsMQ6QjTKlikqnaMsz WG1h38qDu0qU0mLl0Td230QSttiJH4+HIupsnVp32ZiMmOFMucsQgwtmfLmyqSCYAPsK NJAFFogfFK8UGgWVJAPKUrYd4entxndmh1ruKCrK3qsQxP0uR9UkvPBlrsyy1O99YUth sGo/kt5TrvQv8HL0fjD4ZT4bR14HVroz3hUfxdqqv5IWinmubIdDVvCpRdtKmY+x9aUa 2LvQ==
- In-reply-to: <4F7AFB03.email@example.com>
- References: <4F7AFB03.firstname.lastname@example.org>
On Tue, Apr 3, 2012 at 9:28 AM, Francis Swasey <Frank.Swasey@uvm.edu> wrote:
> I don't see any description in the admin guide about how to convert a *.schema file into a
> *.ldif file. Google tells me that most people are using slaptest with the -F and -f parameters
> with a specially crafted slapd.conf file.
> As the person who is responsible for a *.schema file and develops it not on a machine that has
> the openldap server software installed, that process is not anything I'm interested in. Looks
> like it should be a fairly simple set of transformations. Looking at the *.schema and *.ldif
> that are provided with the openldap source - I am left wondering how they were created, since
> they have comments, they were obviously not created via the slaptest -F <x> -f <y> method.
> I would like to programatically do this -- my ability to vi two files and make identical
> changes has been known to be fallable!
> I found the fusiondirectory-schema2ldif perl script - but it is not complete and silently drops
> keywords it doesn't like which is a really nasty coding style generating garbage from quality
> Suggestions? Code examples?
I *believe* the reason you create the .conf file with all the
schemas yours depend on is because it somehow needs to know its
dependencies to continue.
> Frank Swasey | http://www.uvm.edu/~fcs
> Sr Systems Administrator | Always remember: You are UNIQUE,
> University of Vermont | just like everyone else.
> "I am not young enough to know everything." - Oscar Wilde (1854-1900)