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

2016-12-26 Thread Carlos Raúl Laguna
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
-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

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

2016-12-27 Thread Martin Basti



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
-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project