From: "Raimund Berger" <raimund.berger@gmail.com>
To: 17720@debbugs.gnu.org
Subject: bug#17720: 24.3; EUDC LDAP duplicate mail handling broken.
Date: Fri, 06 Jun 2014 19:51:33 +0200 [thread overview]
Message-ID: <87ha3yx6xm.fsf@gigli.quasi.internal> (raw)
Hi there,
EUDC - and this seems to be a long standing issue - doesn't properly
recognize and handle LDAP entries that have multiple "mail" records.
Example: when having an LDAP entry with cn "John Doe" and two mail
records "john@a.com" "john@b.com" the corresponding inline expansion
LDAP call returns
((cn . "John Doe") (mail . "john@a.com") (mail . "john@b.com"))
given the setting
(eudc-protocol-set 'eudc-inline-expansion-format '("%s <%s>" cn email) 'ldap)
and eudc-duplicate-attribute-handling-method having its default value
((email . duplicate)).
The above list is then passed into eudc-filter-duplicate-attributes,
which unfortunately fails to properly handle or even just recognize
those duplicate "mail" records. This failure then results into inline
expansion just inserting the first mail entry instead of offering a
selection between all available mail records, like it properly happens
with the bbdb backend for example.
Unfortunately, I don't know enough of elisp to maybe fix the issue
myself (all the mapcars, cdrs, etc make me dizzy). But it would be great
if this issue could be dealt with.
I've seen several complaints about this matter on the net btw, one
dating back to 2005. So it seems to be an old one.
Thanks, R.
In GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
of 2014-05-18 on gigli
next reply other threads:[~2014-06-06 17:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 17:51 Raimund Berger [this message]
2014-12-24 6:30 ` bug#17720: 24.3; EUDC LDAP duplicate mail handling broken Thomas Fitzsimmons
2015-03-06 3:26 ` Thomas Fitzsimmons
2015-03-06 8:05 ` Thomas Fitzsimmons
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ha3yx6xm.fsf@gigli.quasi.internal \
--to=raimund.berger@gmail.com \
--cc=17720@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).