From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Fabrice Bauzac-Stehly Newsgroups: gmane.emacs.bugs Subject: bug#61832: 30.0.50; Missing auth-source option for ldap Date: Sun, 26 Feb 2023 21:38:35 +0100 Message-ID: <87mt5088ms.fsf@fedora.home> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12903"; mail-complaints-to="usenet@ciao.gmane.io" To: 61832@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 27 05:49:16 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWVRs-0003Bi-TO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Feb 2023 05:49:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWVRh-00028O-FP; Sun, 26 Feb 2023 23:49:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWVRe-000281-Qf for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 23:49:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWVRe-0007GJ-83 for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 23:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWVRe-0004Ns-3m for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 23:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Fabrice Bauzac-Stehly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2023 04:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61832 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167747331416784 (code B ref -1); Mon, 27 Feb 2023 04:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Feb 2023 04:48:34 +0000 Original-Received: from localhost ([127.0.0.1]:45623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWVRB-0004MX-JB for submit@debbugs.gnu.org; Sun, 26 Feb 2023 23:48:34 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:50592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWNnJ-0003RI-TL for submit@debbugs.gnu.org; Sun, 26 Feb 2023 15:38:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWNnG-0001D6-AC for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 15:38:53 -0500 Original-Received: from smtp-21.smtpout.orange.fr ([80.12.242.21] helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWNnC-0003mq-BZ for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 15:38:48 -0500 Original-Received: from fedora.home ([109.210.14.182]) by smtp.orange.fr with ESMTPA id WNn2pW7eILJ2LWNn2pG48v; Sun, 26 Feb 2023 21:38:37 +0100 X-ME-Helo: fedora.home X-ME-Auth: YmF1emFjLXN0ZWhseS5mYWJyaWNlQG9yYW5nZS5mcg== X-ME-Date: Sun, 26 Feb 2023 21:38:37 +0100 X-ME-IP: 109.210.14.182 Original-Received: from noon by fedora.home with local (Exim 4.96) (envelope-from ) id 1pWNn2-0007P8-03 for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 21:38:36 +0100 Received-SPF: pass client-ip=80.12.242.21; envelope-from=libnoon@orange.fr; helo=smtp.smtpout.orange.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 26 Feb 2023 23:48:32 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256846 Archived-At: --=-=-= Content-Type: text/plain Hello, The variable ldap-host-parameters-alist accepts to enable Auth-Source by adding "auth-source t" in the list for a host. However, I have noticed that its defcustom is missing the corresponding option. May I propose the attached change to add the missing item? --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-missing-auth-source-option-for-ldap.patch Content-Description: 0001-Add-missing-auth-source-option-for-ldap.patch >From 3ba253967a9db196f00b494f0e1d39ced8d7a0f7 Mon Sep 17 00:00:00 2001 From: Fabrice Bauzac Date: Mon, 15 Aug 2022 11:46:19 +0200 Subject: [PATCH] Add missing auth-source option for ldap * lisp/net/ldap.el (ldap-host-parameters-alist): Add a missing item for auth-source in the defcustom. Copyright-paperwork-exempt: yes --- lisp/net/ldap.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el index 78405414a28..bc98e024396 100644 --- a/lisp/net/ldap.el +++ b/lisp/net/ldap.el @@ -150,7 +150,12 @@ ldap-host-parameters-alist :tag "Size Limit" :inline t (const :tag "Size Limit" sizelimit) - (integer :tag "(number of records)")))))) + (integer :tag "(number of records)")) + (list + :tag "Auth-Source" + :inline t + (const auth-source) + (boolean :tag "Use Auth-Source")))))) (defcustom ldap-ldapsearch-prog "ldapsearch" "The name of the ldapsearch command line program." -- 2.25.1 --=-=-= Content-Type: text/plain Thanks! Best regards -- Fabrice Bauzac-Stehly PGP 01EEACF8244E9C14B551C5256ADA5F189BD322B6 --=-=-=--