[Freeipa-devel] [PATCH] update user webgui
Rob Crittenden
rcritten at redhat.com
Fri Aug 17 13:56:46 UTC 2007
Kevin McCarthy wrote:
> This patch enables updating for the web gui. Turbogears seems to be
> sending unicode strings, which is choking the ldap code. For now, I've
> converted the to regular python strings, but this will affect i18n in
> the future.
It seems to be the ldap.cidict() that is choking on the values. It
basically ends up in an endless recursive loop (at least until the stack
is full).
>
> The server is returning lowercase ldap attribute names now, so this
> fixes the web gui as well as ipaclient.py to refer to lowercase
> attributes.
The User object should be case insensitive. I do the lower-case
conversion to be sure that multi-valued attributes get in all the right
places when creating the dict.
rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20070817/9cf62f15/attachment.bin>
More information about the Freeipa-devel
mailing list