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

Simo Sorce ssorce at redhat.com
Fri Aug 17 20:21:18 UTC 2007


On Fri, 2007-08-17 at 10:34 -0700, Kevin McCarthy wrote:
> 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.

Pushed.




More information about the Freeipa-devel mailing list