diff options
| author | Pavel Janík | 2002-01-16 08:50:27 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-01-16 08:50:27 +0000 |
| commit | 5a9af4e1f01c6fb376f827f9bdf4c92e534196fa (patch) | |
| tree | bb344fbcab37921187a88ee175a80f8f23d03f64 | |
| parent | 530159655600f8b232ce723930d3fb3cdfcb3658 (diff) | |
| download | emacs-5a9af4e1f01c6fb376f827f9bdf4c92e534196fa.tar.gz emacs-5a9af4e1f01c6fb376f827f9bdf4c92e534196fa.zip | |
(ldap-ldapsearch-prog): Default to OpenLDAP version 2 ldapsearch.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/net/ldap.el | 9 |
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 @@ | |||
| 1 | 2002-01-16 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 1 | 2002-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'." |
| 157 | It is recommended to use the `-T' switch with Netscape's | ||
| 158 | implementation to avoid line wrapping. | ||
| 159 | The `-B' switch should be used to enable the retrieval of | ||
| 160 | binary 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") |