From 5e933b39d1ce8016a8d989cef99a19e12eb36039 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Fri, 26 Oct 2018 16:59:09 -0400 Subject: [PATCH] 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) --- lisp/net/ldap.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el index 7b47a54..4b49f76 100644 --- a/lisp/net/ldap.el +++ b/lisp/net/ldap.el @@ -646,8 +646,9 @@ ldap-search-internal (not (equal "" sizelimit))) (setq arglist (nconc arglist (list (format "-z%s" sizelimit))))) (if passwd - (let* ((process-connection-type nil) - (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 -- 1.8.3.1