changeset 42783:c1bb3d3c9621

(ldap-ldapsearch-prog): Default to OpenLDAP version 2 ldapsearch.
author Pavel Janík <Pavel@Janik.cz>
date Wed, 16 Jan 2002 08:49:45 +0000
parents 7dd8ea0f6753
children e98b3f9f6773
files lisp/net/ldap.el
diffstat 1 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/ldap.el	Wed Jan 16 08:22:15 2002 +0000
+++ b/lisp/net/ldap.el	Wed Jan 16 08:49:45 2002 +0000
@@ -152,12 +152,8 @@
   :type '(string :tag "`ldapsearch' Program")
   :group 'ldap)
 
-(defcustom ldap-ldapsearch-args '("-B")
-  "*A list of additional arguments to pass to `ldapsearch'.
-It is recommended to use the `-T' switch with Netscape's
-implementation to avoid line wrapping.
-The `-B' switch should be used to enable the retrieval of
-binary values."
+(defcustom ldap-ldapsearch-args '("-LL" "-tt" "-x")
+  "*A list of additional arguments to pass to `ldapsearch'."
   :type '(repeat :tag "`ldapsearch' Arguments"
 		 (string :tag "Argument"))
   :group 'ldap)
@@ -561,7 +557,6 @@
 			   buf
 			   nil
 			   ,@arglist
-			   "-t"		; Write values to temp files
 			   ,@ldap-ldapsearch-args
 			   ,@filter))
       (insert "\n")