From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.devel Subject: Re: ldap support: eudc and ldap.el Date: Tue, 03 Dec 2013 12:23:45 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386091520 14317 80.91.229.3 (3 Dec 2013 17:25:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Dec 2013 17:25:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 03 18:25:25 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vntiv-000643-15 for ged-emacs-devel@m.gmane.org; Tue, 03 Dec 2013 18:25:25 +0100 Original-Received: from localhost ([::1]:44034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vntiu-0002my-Kl for ged-emacs-devel@m.gmane.org; Tue, 03 Dec 2013 12:25:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vntil-0002ip-Oo for emacs-devel@gnu.org; Tue, 03 Dec 2013 12:25:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vntid-0002s0-Lf for emacs-devel@gnu.org; Tue, 03 Dec 2013 12:25:15 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:56959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vntid-0002rO-Fl for emacs-devel@gnu.org; Tue, 03 Dec 2013 12:25:07 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VntiZ-0005sF-20 for emacs-devel@gnu.org; Tue, 03 Dec 2013 18:25:03 +0100 Original-Received: from 69-165-165-189.dsl.teksavvy.com ([69.165.165.189]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Dec 2013 18:25:03 +0100 Original-Received: from fitzsim by 69-165-165-189.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Dec 2013 18:25:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-165-165-189.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:RhrZOn7wbPBs4/Kjw8exEsL2hbU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:166044 Archived-At: Hi T.V., "T.V. Raman" 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