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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
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




--- Comment #6 from Heiko Schlittermann <hs+exim@???> 2014-08-29 15:14:38 ---
(In reply to comment #5)
> The initial patch is hiding that the return has two attributes. It is not just
> forwarding the results.


Yes, your are right. It forwards the values of the query. Because I the
attrcount of the query is one.


> It will also deal differently with an attribute that has dependents for the
> cases that you request only it, vs. it plus another attribute. The first
> will label none of the results, the second will label the dependents
> separately.


I'm not sure if we'd be able to know about the inheritance of the attributes
without knowing the used LDAP schema. In that sense Exim is just forwarding
what it sees as the result from the query.

ldapsearch -x <filter> <attr>

may return

<attr1>: <value1>
<attr2>: <value2>

if <attr1>, and <attr2> are derived from <attr>.

--
Heiko


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