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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy Harris
Dátum:  
Címzett: exim-dev
Tárgy: [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