Hi All,


I wanted to add a custom attribute to user. I followed the freeipa extension guide here http://www.freeipa.org/images/5/5b/FreeIPA33-extending-freeipa.pdf

So far I have add this to the LDAP schema and added a custom python code to /usr/lib/python2.7/site-packages/ipaserver/plugins/.

With this the CLI part is working fine. 

The new attribute (say "favoritecolorname") should be mandatory for all users. I want the "user_add" call to validate the string using a regex. This works perfectly! I used this guide https://abbra.fedorapeople.org/guide.html

I'm stuck with chaning the User Add dialog in Web UI. I need this new atribute "favoritecolor" to be mandatory. Is there any sample code on chaning the default user add dialog ?

Any pointers would be great. 

Thanks.
--Prashant