[Freeipa-devel] [PATCH] LDAP update tool

Martin Nagy mnagy at redhat.com
Thu Sep 11 23:20:48 UTC 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adjust-ipa-ldap-updater-to-new-config.py.patch
Type: text/x-patch
Size: 2070 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080912/bc647aa8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Use-a-custom-class-for-exceptions-when-handling-synt.patch
Type: text/x-patch
Size: 2594 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080912/bc647aa8/attachment-0001.bin>


More information about the Freeipa-devel mailing list