]> git.eshelyaron.com Git - emacs.git/commitdiff
ldap.el: Do not set process-connection-type
authorThomas Fitzsimmons <fitzsim@fitzsim.org>
Sat, 22 Dec 2018 14:48:27 +0000 (09:48 -0500)
committerThomas Fitzsimmons <fitzsim@fitzsim.org>
Sat, 22 Dec 2018 14:59:39 +0000 (09:59 -0500)
* lisp/net/ldap.el (ldap-search-internal): Leave
process-connection-type at its default value.  (Bug#33050)

lisp/net/ldap.el

index 720c9c178f84739f7a4c5e9b44704bda3d0fa67a..4b49f76c3be4a1f1f97d7fa8b282e3a40eb7f94c 100644 (file)
@@ -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