From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#62721: 30.0.50; EUDC: stop adding a wildcard to LDAP searches Date: Tue, 16 May 2023 06:57:59 -0400 Message-ID: References: <87ttwchew9.fsf@fedora.home> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34791"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62721@debbugs.gnu.org, fgunbin@fastmail.fm To: Fabrice Bauzac-Stehly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 16 12:59:17 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 1pysOj-0008ns-1v for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 May 2023 12:59:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pysOV-0000Hr-EW; Tue, 16 May 2023 06:59:03 -0400 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 1pysOU-0000Er-I0 for bug-gnu-emacs@gnu.org; Tue, 16 May 2023 06:59:02 -0400 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 1pysOU-00080d-9t for bug-gnu-emacs@gnu.org; Tue, 16 May 2023 06:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pysOU-0000Qa-4y for bug-gnu-emacs@gnu.org; Tue, 16 May 2023 06:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 May 2023 10:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62721 X-GNU-PR-Package: emacs Original-Received: via spool by 62721-submit@debbugs.gnu.org id=B62721.16842346891586 (code B ref 62721); Tue, 16 May 2023 10:59:02 +0000 Original-Received: (at 62721) by debbugs.gnu.org; 16 May 2023 10:58:09 +0000 Original-Received: from localhost ([127.0.0.1]:45332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pysNd-0000PW-6M for submit@debbugs.gnu.org; Tue, 16 May 2023 06:58:09 -0400 Original-Received: from mail.fitzsim.org ([69.165.165.189]:55864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pysNa-0000Ob-RC for 62721@debbugs.gnu.org; Tue, 16 May 2023 06:58:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fitzsim.org ; s=20220430; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=J9wudeAeUb6/Mnw35gUvKprN210XhmZdeq6InX/68Lo=; b=eP8n51/1siHocyiF5rfJ7yGbqd 0xXmZvKOAVN8D1WU55WoBsExn+zRA6CZdRDQVlyglcBtr5kpLd6rTHhLSV9CGdbH3ttwy0ho4CT3H coNx8oiqvIrlU2bhOzf2GiLOYY9HwW28t+N/i6prx129VO149gkvji27eALU4G3N9U8Il1BSlPhWE x2QqS5tcoEmDWe8Iu0QjMKRhjhWiIn/Ce/ygzLtnSMgU9oXp+Sp5BNI9x3raTOdJToYff/q8xIDN7 ZRFMcpvaL6GK/WLe/5HHO+l58vnUevAQGuR5/3/VhgS5OBlFNPSQk53BMugLRG+7Al0I35jQhx6An S7IxZzfQ==; Original-Received: from [192.168.1.1] (helo=localhost.localdomain) by mail.fitzsim.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pysNU-000DdS-7h; Tue, 16 May 2023 06:58:00 -0400 In-Reply-To: <87ttwchew9.fsf@fedora.home> (Fabrice Bauzac-Stehly's message of "Tue, 16 May 2023 10:14:14 +0200") 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:261781 Archived-At: Fabrice Bauzac-Stehly writes: > Thomas Fitzsimmons writes: > >> Fabrice Bauzac-Stehly writes: >> >>> Sure. I have kept the two default items of the list, and added >>> 'samaccountname (the attribute for which I don't want any wildcard). As >>> I've used Customize, it appears like this in my ~/.emacs.d/init.el: >>> >>> '(eudc-ldap-no-wildcard-attributes '(objectclass objectcategory samaccountname)) >> >> Thanks, and what field of `eudc-query-form' does that affect? "E-Mail"? > > It affects samaccountname. Indeed, I forgot to indicate that I have > also customized eudc-query-form-attributes: > > '(eudc-default-return-attributes > '(displayname firstname name thumbnailphoto mail samaccountname ...)) > '(eudc-ldap-no-wildcard-attributes '(objectclass objectcategory samaccountname)) > '(eudc-query-form-attributes '(name firstname email samaccountname)) Oh, OK. Can you test how to apply this to the standard "E-Mail" attribute in `eudc-query-form'? I forget if I want "mail" or "email" for SYMBOL here: You may not want functions like `eudc-query-form' and `eudc-expand-inline' to do LDAP wildcard expansion by default on certain fields. If so, add the relevant symbol to this list, for example `SYMBOL' for the \"E-Mail\" field. Then I'll push the updated patch. Thanks, Thomas