+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):
: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"))
(setq arglist (nconc arglist (list (format "-z%s" sizelimit)))))
(eval `(call-process ldap-ldapsearch-prog
nil
- `(,buf nil)
+ buf
nil
,@arglist
,@ldap-ldapsearch-args
(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