From: teranisi Date: Thu, 30 Jan 2003 04:13:22 +0000 (+0000) Subject: * pldap.el (ldap-search-basic): Don't treat exit status 32 as an X-Git-Tag: elmo-mark-restart~76 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50d211e18312570d93fec88d014772018c809e9a;p=elisp%2Fwanderlust.git * pldap.el (ldap-search-basic): Don't treat exit status 32 as an error [wl:11327]. --- diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 01f8f77..76c861b 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,5 +1,8 @@ 2003-01-30 Yuuichi Teranishi + * pldap.el (ldap-search-basic): Don't treat exit status 32 as an + error [wl:11327]. + * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level, print-depth. diff --git a/elmo/pldap.el b/elmo/pldap.el index 5d90138..e8b944b 100644 --- a/elmo/pldap.el +++ b/elmo/pldap.el @@ -691,7 +691,10 @@ entry according to the value of WITHDN." (not (zerop ret)) ;; When openldap's `ldapsearch' exceeds response size limit, ;; it's exit status becomes `4'. - (/= ret 4)) + (/= ret 4) + ;; When openldap's `ldapsearch' uses referral, + ;; it's exit status becomes `32'. + (/= ret 32)) (error "LDAP error: \"No such object\"")) (goto-char (point-min)) (setq start (point))