aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Janík2002-01-16 08:50:27 +0000
committerPavel Janík2002-01-16 08:50:27 +0000
commit5a9af4e1f01c6fb376f827f9bdf4c92e534196fa (patch)
treebb344fbcab37921187a88ee175a80f8f23d03f64
parent530159655600f8b232ce723930d3fb3cdfcb3658 (diff)
downloademacs-5a9af4e1f01c6fb376f827f9bdf4c92e534196fa.tar.gz
emacs-5a9af4e1f01c6fb376f827f9bdf4c92e534196fa.zip
(ldap-ldapsearch-prog): Default to OpenLDAP version 2 ldapsearch.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/net/ldap.el9
2 files changed, 5 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d8052855640..b967f5959d9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12002-01-16 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 12002-01-16 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 2
3 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
4 2 ldapsearch.
5
3 * net/eudc.el: New maintainer. Change author's address. 6 * net/eudc.el: New maintainer. Change author's address.
4 (eudc-pre-select-window-configuration, eudc-insertion-marker): 7 (eudc-pre-select-window-configuration, eudc-insertion-marker):
5 Variables removed. 8 Variables removed.
diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el
index 7e8f8241e61..03923eb4114 100644
--- a/lisp/net/ldap.el
+++ b/lisp/net/ldap.el
@@ -152,12 +152,8 @@ Valid properties include:
152 :type '(string :tag "`ldapsearch' Program") 152 :type '(string :tag "`ldapsearch' Program")
153 :group 'ldap) 153 :group 'ldap)
154 154
155(defcustom ldap-ldapsearch-args '("-B") 155(defcustom ldap-ldapsearch-args '("-LL" "-tt" "-x")
156 "*A list of additional arguments to pass to `ldapsearch'. 156 "*A list of additional arguments to pass to `ldapsearch'."
157It is recommended to use the `-T' switch with Netscape's
158implementation to avoid line wrapping.
159The `-B' switch should be used to enable the retrieval of
160binary values."
161 :type '(repeat :tag "`ldapsearch' Arguments" 157 :type '(repeat :tag "`ldapsearch' Arguments"
162 (string :tag "Argument")) 158 (string :tag "Argument"))
163 :group 'ldap) 159 :group 'ldap)
@@ -561,7 +557,6 @@ an alist of attribute/value pairs."
561 buf 557 buf
562 nil 558 nil
563 ,@arglist 559 ,@arglist
564 "-t" ; Write values to temp files
565 ,@ldap-ldapsearch-args 560 ,@ldap-ldapsearch-args
566 ,@filter)) 561 ,@filter))
567 (insert "\n") 562 (insert "\n")