From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#16322: 24.3; [PATCH] Streamline EUDC LDAP configuration Date: Wed, 01 Jan 2014 20:51:17 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1388627567 16075 80.91.229.3 (2 Jan 2014 01:52:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jan 2014 01:52:47 +0000 (UTC) To: 16322@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 02 02:52:53 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VyXSv-0003IE-A1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jan 2014 02:52:53 +0100 Original-Received: from localhost ([::1]:42967 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VyXSu-0007xe-Kv for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jan 2014 20:52:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VyXSC-0007A9-W6 for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2014 20:52:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VyXS6-0003Ls-54 for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2014 20:52:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VyXS6-0003Lo-1c for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2014 20:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VyXS5-0007NY-RA for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2014 20:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2014 01:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16322 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138862750228330 (code B ref -1); Thu, 02 Jan 2014 01:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Jan 2014 01:51:42 +0000 Original-Received: from localhost ([127.0.0.1]:56879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VyXRm-0007Mr-08 for submit@debbugs.gnu.org; Wed, 01 Jan 2014 20:51:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50641) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VyXRj-0007Mh-MQ for submit@debbugs.gnu.org; Wed, 01 Jan 2014 20:51:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VyXRc-00030k-HY for submit@debbugs.gnu.org; Wed, 01 Jan 2014 20:51:39 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VyXRc-00030g-EW for submit@debbugs.gnu.org; Wed, 01 Jan 2014 20:51:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VyXRW-00074E-D9 for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2014 20:51:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VyXRQ-0002yL-5r for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2014 20:51:26 -0500 Original-Received: from mail-ie0-f169.google.com ([209.85.223.169]:39639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VyXRQ-0002yC-13 for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2014 20:51:20 -0500 Original-Received: by mail-ie0-f169.google.com with SMTP id e14so14363550iej.14 for ; Wed, 01 Jan 2014 17:51:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=uSiRw+rgrGCbkcFbfLGpWtPQ/eMC+o5GVVEU21Wl5T4=; b=URCtedWXnsYI+4PTbO/xLVmJCPjwNT5HNFZwXeftOSW5rOVqto9q8PYQmF94VTVQe+ ajncrhvQDpKRM032woeFUaoc6NsN4mhjvCxAkn0pq1cPkluu3KaRqEoqLZdWJdEAI9eC jOBGWTp29fwLM4xyDfUaOvyzFdxV320aqPDbaHAhE5Kp61JeHeEXmY5Ui6DOv1Y29Hnr bZMyBfYpFzAlRfFOIB1eUXJrWrN7eJqfkHaHqZvoSHHgd7N9qLiJa7d0gZRAL6fc4fJk 5kT2lLAITrTZv8ziqIB774hJtP9Yd5PMpGjFqbn6dtIldTeMo5MH/GmL+eEN3iYbK/HK /Zqw== X-Gm-Message-State: ALoCoQloeGS8pq2idoEZd8xpup0UplBKxF+LRrBhhZbUcpub7WizMF9Xy3/OTzV8e5cUY8crWUES X-Received: by 10.42.251.69 with SMTP id mr5mr33915434icb.42.1388627478843; Wed, 01 Jan 2014 17:51:18 -0800 (PST) Original-Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by mx.google.com with ESMTPSA id t4sm71524483igm.10.2014.01.01.17.51.17 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 01 Jan 2014 17:51:18 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82809 Archived-At: Hi, I've published a set of patches to modernize EUDC LDAP configuration [1]. Here is a summary of the changes: - Replace ~/.eudc-options with Customize for the server hotlist - Add support for ldapsearch's -H option, to allow specifying ldaps:// host URIs for LDAP-over-SSL - Implicitly append the LDAP wildcard character to the last attribute value of a query - Improve expansion defaults (e.g., don't query on surname, by default expand to a format that includes first name, surname and email address) - Improve password handling: - Add password-cache support for interactive prompting - Pass the password to ldapsearch through a pipe rather than on the command line - Other minor compatibility and UI fixes - Expand EUDC LDAP Info documentation, providing LDAP-over-SSL configuration examples Thomas 1. https://code.launchpad.net/~fitzsim/emacs/streamline-eudc-configuration In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu) of 2014-01-01 on fitzsim-lnx Bzr revision: 111339 fitzsim@fitzsim.org-20140101224646-zf3e9atsnv3naf4z System Description: Red Hat Enterprise Linux Workstation release 6.4 (Santiago) Configured using: `configure '--prefix=/local/program/streamline-eudc-configuration' '--with-x-toolkit=no'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Message Minor modes in effect: mml-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t auto-fill-function: message-do-auto-fill transient-mark-mode: t abbrev-mode: t Recent input: RET TAB TAB SPC M i l TAB RET C-x k RET C-g ESC x e b DEL m a c TAB b u TAB DEL DEL r e p o TAB DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL r e p o TAB TAB TAB TAB t DEL r TAB RET Recent messages: Creating customization setup...done To install your edits, invoke [State] and choose the Set operation Change the state of this item. byte-code: Incorrect LDAP password or bind distinguished name (binddn) Parsing results... done Parsing results... done Parsing results... done Making completion list... Quit Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail help-fns conf-mode help-mode eudcb-ldap ldap password-cache eudc eudc-vars gnus-util edmacro kmacro message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader cus-edit cus-start cus-load wid-edit ispell jka-compr info easymenu time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting x multi-tty emacs)