]> git.eshelyaron.com Git - emacs.git/commitdiff
2006-06-13 Martin J. Reed <mjreed@essex.ac.uk> (tiny change)
authorChong Yidong <cyd@stupidchicken.com>
Tue, 13 Jun 2006 20:31:32 +0000 (20:31 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 13 Jun 2006 20:31:32 +0000 (20:31 +0000)
* net/ldap.el (ldap-ldapsearch-args): Default to SASL search.
(ldap-search-internal): Keep error messages, and a regexp fix.

lisp/ChangeLog
lisp/net/ldap.el

index ad37f74b87b0439de85eae40bfaf795bae5f198b..4db176fb5be219e66375919f156fb20233ee0833 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-13  Martin J. Reed  <mjreed@essex.ac.uk>  (tiny change)
+
+       * net/ldap.el (ldap-ldapsearch-args): Default to SASL search.
+       (ldap-search-internal): Keep error messages, and a regexp fix.
+
 2006-06-12  Thien-Thi Nguyen  <ttn@gnu.org>
 
        * files.el (hack-local-variables-confirm):
index 180e14fcc20d325b7eaee18fc5db9e5f9b9b26b8..2a63615a602ffef5856165dadc8f47cb9e1a7b45 100644 (file)
@@ -154,7 +154,7 @@ Valid properties include:
   :type '(string :tag "`ldapsearch' Program")
   :group 'ldap)
 
-(defcustom ldap-ldapsearch-args '("-LL" "-tt" "-x")
+(defcustom ldap-ldapsearch-args '("-LL" "-tt")
   "*A list of additional arguments to pass to `ldapsearch'."
   :type '(repeat :tag "`ldapsearch' Arguments"
                 (string :tag "Argument"))
@@ -555,7 +555,7 @@ an alist of attribute/value pairs."
          (setq arglist (nconc arglist (list (format "-z%s" sizelimit)))))
       (eval `(call-process ldap-ldapsearch-prog
                           nil
-                          `(,buf nil)
+                          buf
                           nil
                           ,@arglist
                           ,@ldap-ldapsearch-args
@@ -580,7 +580,7 @@ an alist of attribute/value pairs."
                                               (end-of-line)
                                               (point))))
          (forward-line 1)
-         (while (looking-at "^\\(\\w*\\)\\(;\\w*\\)?[=:\t ]+\\(<[\t ]*file://\\)?\\(.*\\)$")
+         (while (looking-at "^\\(\\w*\\)\\(;\\w*\\)?[=:\t ]+\\(<[\t ]*file://\\)\\(.*\\)$")
            (setq name (match-string 1)
                  value (match-string 4))
             ;; Need to handle file:///D:/... as generated by OpenLDAP