[Freeipa-devel] [PATCH] Fix setattr mail bug in user plugin.
Pavel Zuna
pzuna at redhat.com
Tue Feb 15 15:18:10 UTC 2011
The email normalizer expects a list or tuple, but when using setattr it gets a
string and interates on it as if it was a list/tuple.
Before patch:
[root at ipadev freeipa]# ./ipa user-mod testuser --setattr mail=testuser at example.com
------------------------
Modified user "testuser"
------------------------
User login: testuser
First name: f
Last name: l
Home directory: /home/testuser
Login shell: /bin/sh
Email address: c at pzuna, @, x at pzuna, o at pzuna, . at pzuna, t at pzuna, e at pzuna,
s at pzuna, r at pzuna, a at pzuna, m at pzuna, p at pzuna, u at pzuna, l at pzuna
Account disabled: False
Member of groups: ipausers
Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pzuna-79-normemail.patch
Type: application/mbox
Size: 1012 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110215/ef76661c/attachment.mbox>
More information about the Freeipa-devel
mailing list