[Freeipa-devel] [PATCH] 0001 User Life Cycle: create containers and scoping DS plugins

Petr Viktorin pviktori at redhat.com
Wed Aug 13 14:48:10 UTC 2014


On 08/08/2014 09:24 AM, thierry bordaz wrote:
> Hi,
>
> The attached patch is a first patch related to 'User Life Cycle'
> (https://fedorahosted.org/freeipa/ticket/3813)
>
> It creates 'Stage' and 'Delete' containers and configure DS plugin to
> scope only 'Active' container or exclude 'Stage'/'Delete'

Hello,

The .ldif files are copied only during initial installation. When 
upgrading to a version with this patch, changes in .ldif files are not 
applied.

So all updates need to be in .update files. For example, for DNA plugin 
configuration you would need something like this in an .update file:

dn: cn=Posix IDs,cn=Distributed Numeric Assignment 
Plugin,cn=plugins,cn=config
remove:dnaScope: "$SUFFIX"
add:dnaScope: "cn=accounts,$SUFFIX"


.update files, on the other hand, are applied both on installation and 
on upgrade. To avoid duplication you can put whole entries in .update 
and delete them from the .ldif, provided the entries always end up being 
created in a correct order.


Patch submission technicalities:
Please don't add the "Reviewed by" tag to the commit message, it's added 
when pushing. The other tags are not used FreeIPA. (What's a "Flag Day"?)
When you send more patches that depend on each other, either attach them 
all to one e-mail, or explicitly say what each patch depends on.

-- 
Petr³




More information about the Freeipa-devel mailing list