Re: Attribute value ordering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/19/2013 09:12 AM, Mitja Mihelič wrote:
Hi!

Out DIT holds user entries that have multiple "mail" attributes (main email, aliases).
Here is an example entry:
dn: eduPersonPrincipalName=user@xxxxxxxxxxx,dc=example,dc=com
mail: nickname@xxxxxxxxxxx
mail: user@xxxxxxxxxxx
mail: user.name@xxxxxxxxxxx

Our application (e.g. WordPress) authenticates against the 389DS and also pull some additional attributes, needed by the application. In this case the email address. The application picks up the first mail attribute received and uses it as the user's email. In this case would be "nickname@xxxxxxxxxxx", which is unwanted. The desired outcome would be the "user.name@xxxxxxxxxxx" displayed as first.
By what algorithm/logic do the attributes get sorted? Time added perhaps?
Undefined.
Is there any way of influencing this sorting?
No.


We were also thinking of putting the "main" email into another attribute. Which attribute would be appropriate for something like this?
There is an attribute 'mailAlternateAddress' - not sure what it is used for

Regards,
Mitja


--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users





[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux