[Freeipa-devel] [PATCHES] Address #413 and Complete UUID related changes

Rob Crittenden rcritten at redhat.com
Thu Oct 28 02:28:23 UTC 2010


Simo Sorce wrote:
>
> These patches apply on top of the previous ipa_uuid related patches.
>
> #1 handles automatic generation of the uuid when the uuid
> attribute is the RDN (fixes #413).
>
> #2 prevents cases of false positives when enforcing is set and we are
> handling a simple modification of an object that falls into the plugin
> scope.
>
> #3 remove the python uuid plugin and changes all callers to always pass
> in the special value 'autogenerate' for the ipauniqueid attribute. This
> way uuids are generated server side.
>
>
> #3 introduces a problem with the baseldap class LDAPCreate, because
> that calss always tries to reuse the passed in DN to lookup the entry
> after creation. Unfortunately when ipaUniqueID is part of the DN, the
> DN is changed on add so the lookup using the special "autogenerate"
> value will fail. Pavel is looking into it to provide an alternative way
> to lookup the entry in these cases.
>
> Simo.

There is one minor problem in the 3rd patch. The admin user has the 
wrong magic value for ipauniqueid. Fix that and you have a pre-ack x3.

rob




More information about the Freeipa-devel mailing list