[Freeipa-devel] [PATCH] ipa-usermod pass strings as lists

Kevin McCarthy kmccarth at redhat.com
Fri Aug 17 17:34:37 UTC 2007


Rob Crittenden wrote:
> Kevin discovered that modifyModList doesn't handle straight strings 
> properly when deciding if a field has changed. Passing them as 
> single-valued lists works though. Updating ipa-usermod to reflect this.

> # HG changeset patch
> # User rcritten at redhat.com
> # Date 1187372767 14400
> # Node ID 6d45db005f2892b921c340787275b1ea654bb58d
> # Parent  93f541ca79626308c7c3fa42f05968547b4ee56e
> Pass string changes as a list so modifyModList works properly

This looks good.  I wonder if we should't do the transformation on the
server side though.  We need a general strategy to deal with multi-values
and the case issue.

-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/20070817/8ea6eebc/attachment.bin>


More information about the Freeipa-devel mailing list