unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thomas Fitzsimmons <fitzsim@fitzsim.org>
To: emacs-devel@gnu.org
Subject: Re: ldap support: eudc and ldap.el
Date: Tue, 03 Dec 2013 12:23:45 -0500	[thread overview]
Message-ID: <m3y541vof2.fsf@fitzsim.org> (raw)
In-Reply-To: CADkJX2iasXOc5GBys=e6raAgxGrxXrWibVCwZFHY95Mi4__s_A@mail.gmail.com

Hi T.V.,

"T.V. Raman" <tv.raman.tv@gmail.com> writes:

> Is any one successfully using the code from either net/eudc.el or
> net/ldap.el to query ldap databases successfully? It has not
> worked for a long time for me in different environments,

Yes, sort of, but it required major surgery to eudc-expand-inline and
ldap-search-internal.  I made invasive changes to support the following:

1) Completion of either username or full name with one press of TAB in
   message-mode

2) LDAP-SSL (via ldapsearch command line options)

3) Prompting for the password in the minibuffer instead of storing it in
   a config file

4) OpenLDAP 2.4.23

5) Sending the password to ldapsearch via its stdin instead of on the
   command line

6) Integration of both LDAP and BBDB results into one result set

I also found EUDC's configuration system strange; it doesn't make use of
customize, but instead provides its own options file and a mode for
editing a server hotlist.  Wading through that resulted in a bunch of
other variable settings in init.el.

I've got it working to my satisfaction now, but I consider most of the
changes I made hacks.  It would definitely be nice to see EUDC/ldap.el
modernized.

Thomas




  reply	other threads:[~2013-12-03 17:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-03 16:46 ldap support: eudc and ldap.el T.V. Raman
2013-12-03 17:23 ` Thomas Fitzsimmons [this message]
2013-12-03 17:59   ` Stefan Monnier
2013-12-04  1:38     ` T.V. Raman
2013-12-10 14:08     ` Thomas Fitzsimmons
2014-01-02  2:17     ` 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=m3y541vof2.fsf@fitzsim.org \
    --to=fitzsim@fitzsim.org \
    --cc=emacs-devel@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).