From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#64089: 30.0.50; `ldap-search' errors out with `wrong-type-argument listp' when called WITHDN == t Date: Mon, 19 Jun 2023 23:35:08 +0300 Message-ID: References: <83cz1usk0i.fsf@gnu.org> <83legiqy3x.fsf@gnu.org> <83h6r6qwxh.fsf@gnu.org> <83mt0xpcns.fsf@gnu.org> <83r0q774b9.fsf@gnu.org> <83ilbj6zhs.fsf@gnu.org> <43af5169-e9f5-e720-ffd5-e30f5c52da81@vodafonemail.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25383"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 64089@debbugs.gnu.org, monnier@iro.umontreal.ca To: Jens Schmidt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 19 22:36:22 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 1qBLbn-0006LV-Sy for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Jun 2023 22:36:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBLbZ-0004GA-81; Mon, 19 Jun 2023 16:36:05 -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 1qBLbX-0004G1-Bd for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2023 16:36:03 -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 1qBLbX-0000Q6-37 for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2023 16:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBLbW-000351-HO for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2023 16:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Jun 2023 20:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64089 X-GNU-PR-Package: emacs Original-Received: via spool by 64089-submit@debbugs.gnu.org id=B64089.168720692011776 (code B ref 64089); Mon, 19 Jun 2023 20:36:02 +0000 Original-Received: (at 64089) by debbugs.gnu.org; 19 Jun 2023 20:35:20 +0000 Original-Received: from localhost ([127.0.0.1]:57391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBLaq-00033s-9c for submit@debbugs.gnu.org; Mon, 19 Jun 2023 16:35:20 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:38143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBLao-00033e-24 for 64089@debbugs.gnu.org; Mon, 19 Jun 2023 16:35:19 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 01EB65C026F; Mon, 19 Jun 2023 16:35:13 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 19 Jun 2023 16:35:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1687206912; x=1687293312; bh=cq v2wKzxXz2Kg7oVxVD67by7mUjUYoLgNY/4K2mNuOQ=; b=R3uMov+TeojvgKsPk3 ZBenUi2dq4Rqwc+oRMOzfiUPTYVYO6wm8LfOfGKCGjwfWkxSQZysc5NMgdgJaX03 co64ItjQbXVOOR4JnsRTI+hOZcpccWeKFvkQlAdqInShR26kVASCyx8k95P7miAV /zz6fbsOgc72AH4Nndjq34aIN1lelGBgjSYQGqY9LohyU0K1LlksDiaaCR/6K88z lHoendLS7JUHoCa3llmV1YrzPinlTedCS7yaWMgShvRR1IMEFzm2GhHtJvr5feBu axoVcayYGft44P3KvsaH4E1zoCnIc1zONpgsx//27NSPxOTUm0II84cmBFl1XE0c bbNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1687206912; x=1687293312; bh=cqv2wKzxXz2Kg 7oVxVD67by7mUjUYoLgNY/4K2mNuOQ=; b=aZvDYSBZ3QMI8DyE/kSgx0LGTeCcg 3lpqiDuCz68LdNCUPp8XwWVYZxC3tTtRnVSjeUUFAsNs0m7jqHOGYVyaYZDXvIBL O6XkBXRVcMWHlrsBRyM3dnxKX5/lvWO4wNEDXAHY6Y0mJGOcLeGMgcoJgdofG6Br LfnWTNzr/1LirKG+WvCfYyfWYx6zePIZdAXkwpt7pZAcLf3kQIlnLOFh6PWXyO4p zesjSbXCox1ekbQdcZm5E+Lk8pDbEt4eUg5mlPLtzg+LeLKBBe3pM1s5VW0VmLiy 3/poAUDPY5nx9GDSwViN/cIBOJrPK6fp2aD/BrKDccyx5wzfHksiV0Ykw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeefvddgudeglecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefhihhl ihhpphcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecugg ftrfgrthhtvghrnhepfffhjeevieeiiedutefgheffleeiveeffeeftdekleehledufeeu ueduheevieffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: id48c41f1:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 19 Jun 2023 16:35:11 -0400 (EDT) In-Reply-To: <43af5169-e9f5-e720-ffd5-e30f5c52da81@vodafonemail.de> (Jens Schmidt's message of "Mon, 19 Jun 2023 22:15:02 +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:263720 Archived-At: Hi Jens, On 19/06/2023 22:15 +0200, Jens Schmidt wrote: > On 2023-06-19 21:27, Filipp Gunbin wrote: > >> 3) Including dn as attribute, with name, is redundand - the client >> requesting withdn=t already knows the name "dn". > > Not true if your query returns more than one record. I mean not the dn value (distinct for each record), but the string "dn" itself. The client already knows that "dn" attribute (that is, a kind of id) will be prepended to a record, so naming it explicitly, and including into the attributes list, is not that useful (and least it's not what the original code meant). >> Honestly, I don't get why we need to evaluate this breakage separately, >> while the others are not allowed, at least without good reason... > > I don't think we should piggy-back too many problems on one report ... I don't understand what you mean here.. >> Btw, the patch on emacs-29 also doesn't work (at least for me) because >> in the end of the output, there's an additional line "Process ldapsearch >> finished", which gets parsed as dn (as start of new ldap record). > > ... in particular this is a completely new one and does not have to do > anything with my issue. On what platform are you testing? I'm on macOS, OpenLDAP 2.6.4_1 from macports. However, this string is appended by Emacs itself. > To summarize: My latest patch for emacs-29 on a different branch of > this thread fixes my issue while keeping results for the working cases > unchanged - that is what you have been asking for, no? I still stand by opinion that we should not touch emacs-29 here, due to reasons I described in other messages. Thanks.