[exim-dev] [Bug 1521] list separator missing for multiple va…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1521] list separator missing for multiple values returned from ldap (fix included)
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1521

Jeremy Harris <jgh146exb@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jgh146exb@???





--- Comment #3 from Jeremy Harris <jgh146exb@???> 2014-08-29 12:43:38 ---
1) Is it more correct (in LDAP terms) to treat the
x-MailPrimaryAddress and x-MailAlternateAddress as
being a single attribute, given that the lookup was for "mail"?
Or as multiple attributes, given that the return from the library
has multiple attribute structures?


2) Is it more useful for Exim ldap lookups to work one
way, or the other - the "other" being a return for
this example of

x-MailPrimaryAddress=a@???
x-MailAlternateAddress=b@???,c@???

[ attached alternate patch. A bit long but mainly
due to indentation changes
]

Are both behaviours useful in different cases (should
we provide an option switch)?


3) How does the initial proposed patch work for the case of a lookup
requesting two attributes, one of which derives a pair of SUP'd ones?
Is it dependent on the ordering of attribute structures presented
by the ldap library? Do all the libraries we support provide
ordering guarantees for the situation?


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email