From: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Date: Sat, 22 Dec 2018 14:48:27 +0000 (-0500)
Subject: ldap.el: Do not set process-connection-type
X-Git-Tag: emacs-27.0.90~3934
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2ff6627f9fe0c4de9cf28d489491ef2f6661b69;p=emacs.git

ldap.el: Do not set process-connection-type

* lisp/net/ldap.el (ldap-search-internal): Leave
process-connection-type at its default value.  (Bug#33050)
---

diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el
index 720c9c178f8..4b49f76c3be 100644
--- a/lisp/net/ldap.el
+++ b/lisp/net/ldap.el
@@ -646,8 +646,9 @@ an alist of attribute/value pairs."
 	       (not (equal "" sizelimit)))
 	  (setq arglist (nconc arglist (list (format "-z%s" sizelimit)))))
       (if passwd
-	  (let* ((process-connection-type t)
-		 (proc-args (append arglist ldap-ldapsearch-args
+	  ;; Leave process-connection-type at its default value.  See
+	  ;; discussion in Bug#33050.
+	  (let* ((proc-args (append arglist ldap-ldapsearch-args
 				    filter))
 		 (proc (apply #'start-process "ldapsearch" buf
 			      ldap-ldapsearch-prog