[Freeipa-devel] [PATCH] LDAP update tool

Rob Crittenden rcritten at redhat.com
Fri Sep 12 13:37:06 UTC 2008


Martin Nagy wrote:
> Rob Crittenden wrote:
>> Tool for doing configuration updates over LDAP
>>
>> This tool takes as input a file which contains basically an LDIF, 
>> prefixed with a command: default, add, remove or only. These define
>> the operations to perform such as adding new entries, adding new
>> sub-entries to an existing entry, adding or modifying attributes in a
>> record.
>>
>> If an index entry is modified a task is created to re-create the
>> index.
>>
>> Schema may be added using this tool.
>>
>> The idea of this tool is that we can provide a directory of change
>> files and iterate through them and have the IPA configuration updated.
>>
>> The syntax can be found at http://freeipa.org/page/LdapUpdate
>>
>> I haven't integrated this into the install process yet but we should
>> be able to eliminate initializing the DS with LDIFs and instead just
>> use update files. For starters though the installer will just try to
>> run through them once things are all set up.
>>
>> rob
> 
> Hi, I attached a patch that would take into account latest commited
> changes..
> I also attached a patch for changing the SyntaxError exception to our
> custom one and catch it down.
> Might be good to squash these into your patch before you push if you
> think they are ok.. Otherwise I didn't review the tool much since Rich
> already acked it.
> 
> Martin
> 

Ack, nice patch. I'll try to take your advice and squash this in when I 
push my patch.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080912/8ea47e45/attachment.bin>


More information about the Freeipa-devel mailing list