[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#4711) back-meta search fails to stop on "@" action

Full_Name: Rici Lake
Version: 2.3.21
OS: various
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

In servers/slapd/back-meta/search.c the function ldap_back_dn_massage is called
at line 394 (in HEAD) in the function meta_back_search_start. It then checks the
return code using a switch statement, where the default branch is to accept the

However, it is checking for return codes REWRITE_REGEXEC_{UNWILLING, ERR} while
ldap_back_dn_massage is returning actual LDAP error codes

Consequently, the "@" action is not honoured, and neither is any other return
code inserted with a "U" action.