* wl-vars.el (wl-ldap-objectclass): New user option.
* wl-address.el (wl-ldap-make-filter): Use it.
+2001-08-06 SAITO Atsunori <sai@yedo.com>
+
+ * wl-vars.el (wl-ldap-objectclass): New user option.
+
+ * wl-address.el (wl-ldap-make-filter): Use it.
+
2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
* wl-fldmgr.el (wl-fldmgr-rename): Fixed second argument.
(defun wl-ldap-make-filter (pat type-list)
"Make RFC1558 quiery filter for PAT from ATTR-LIST.
Each are \"OR\" combination, and PAT is beginning-match."
- (concat "(&(objectclass=person)(|"
+ (concat "(&(objectclass=" wl-ldap-objectclass ")(|"
(mapconcat (lambda (x) (format "(%s=%s*)" x pat)) ; fixed format
type-list
"")
:type '(string :tag "Base")
:group 'wl)
+(defcustom wl-ldap-objectclass "person"
+ "*LDAP objectclass."
+ :type 'string
+ :group 'wl)
+
(defcustom wl-use-ldap nil
"*If non-nil, use LDAP for address completion."
:type 'boolean