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

Simo Sorce ssorce at redhat.com
Wed Oct 27 12:31:16 UTC 2010


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.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ipa_uuid-Handle-generation-of-the-uuid-when-it-is-a-.patch
Type: text/x-patch
Size: 4052 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101027/ed3c5b5f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ipa_uuid-prevent-false-positives-on-modifies.patch
Type: text/x-patch
Size: 2502 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101027/ed3c5b5f/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-UUIDs-remove-uuid-python-plugin-and-let-DS-always-au.patch
Type: text/x-patch
Size: 33242 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101027/ed3c5b5f/attachment-0002.bin>


More information about the Freeipa-devel mailing list