[Freeipa-users] Unable to add attributes to default user schema

Martin Basti mbasti at redhat.com
Tue Dec 27 11:08:39 UTC 2016



On 26.12.2016 20:51, Carlos Raúl Laguna wrote:
> Hello everyone,
>
> I am trying to add a new attribute ¨mailQuota¨ to the default user 
> schema, so far i add the objectclass mailrecipient to the default user 
> objectclasses which contain this specific atribute but so far i only 
> capable to add the attribute manually with user-mod 
> --addattr=mailQuota=102400 but when invoke config-mod 
> --addattr=mailQuota=102400 i get ipa: ERROR: attribute "mailQuota" not 
> allowed. Any way to get around this, also does 
> https://www.freeipa.org/images/5/5b/FreeIPA33-extending-freeipa.pdf is 
> still relevant for freeipa 4.3.2 ?
>
> Thanks in advance
>
>
Hello,

this is not right,
config-mod --addattr=mailQuota=102400

this is not a way how to set a new attr with default value for users, to 
set custom value you need to use custom user_add pre-callback, slide 17

HTH
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20161227/3a511534/attachment.htm>


More information about the Freeipa-users mailing list