Hi, I need to make sure I have a primary one which is mail, the other ones should not matter, but I think it's wiser to have it like I know what is where.
The reason why I need to is because I'm using Kolab which needs at least a primary mail attribute. Cheers, Matt 2014-11-24 19:22 GMT+01:00 Dmitri Pal <[email protected]>: > On 11/24/2014 12:42 PM, Matt . wrote: >> >> 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 > > > The attributes can be multivalued. > Do you need to know which is which? I mean if you have mail1 and mail2 do > you need to be sure that mail1 is alias1 and mail2 is alias2 or they are > interchangeable and the order does not really matter? Then multivalued > attribute would be the way to go. > > Also there is a concept of attribute subtypes that might help here. > > But I would leave to LDAP gurus to chime in on this matter. > > >> >> Would be doable ? >> >> Cheers, >> >> Matt >> >> >> >> 2014-11-24 17:51 GMT+01:00 Dmitri Pal <[email protected]>: >>> >>> 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 > > > > -- > 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
