[Freeipa-users] Add extra infofield to user

Matt . yamakasi.014 at gmail.com
Mon Nov 24 17:42:47 UTC 2014


Hi Dimitri,

I need to use multiple email adresses, but not under mail, mail needs
to be primary.

I have seen I can add mailAttribute ?

I need to have them as field, and the best would be something like
alias1, alias2, aliasX

Would be doable ?

Cheers,

Matt



2014-11-24 17:51 GMT+01:00 Dmitri Pal <dpal at redhat.com>:
> On 11/24/2014 11:36 AM, Matt . wrote:
>>
>> Hi All,
>>
>> I see it's possible to add an extra field to a user by creating a new
>> userobjectclass.
>>
>> The issue is that this field is not yet @ the user, but can we create it
>> here ?
>>
>> /usr/lib/python2.6/site-packages/ipalib/plugins/user.py
>>
>> Any direction would be great!
>>
>> Thanks,
>>
>> Matt
>>
>
> You need to extend schema.
> You add new attribute and put it to the object class that is Extensible
> object.
> However it is usually better yo use something that is already in the
> directory server.
>
> What is the contents that you want to add? May be there is already something
> you can use.
>
> --
> Thank you,
> Dmitri Pal
>
> Sr. Engineering Manager IdM portfolio
> Red Hat, Inc.
>
> --
> 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




More information about the Freeipa-users mailing list