[Freeipa-devel] [PATCH] Update of update

Kevin McCarthy kmccarth at redhat.com
Mon Aug 20 15:47:16 UTC 2007


Rob Crittenden wrote:
> Pull some of the logic into the server-side. Change update_user to take a 
> User object and do the conversion to a dict internally instead.
>
> Don't allow the User object to use __setattr__ except for dn and data. We 
> want them to use setValue() or setValues() so the cidict is used.
>
> The ipa-usermod tool is updated to use the new API.

Rob and I discussed this over IRC.  This introduces a subtle change in
how updates work - old unchanged values will end up overwriting a value
someone else may have updated "in the middle".

I'm going to take a different shot at this and post a patch for this.

-Kevin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20070820/f9ea4a7e/attachment.bin>


More information about the Freeipa-devel mailing list