mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-26 16:52:55 -05:00
Add searchFilter var in searchDN session. Would have preferred to confine
this to the searchDN context. Please review.
This commit is contained in:
parent
d89cfddcde
commit
e0b42505c1
1 changed files with 4 additions and 1 deletions
|
|
@ -669,7 +669,10 @@ rwm_op_search( Operation *op, SlapReply *rs )
|
|||
char *text = NULL;
|
||||
|
||||
#ifdef ENABLE_REWRITE
|
||||
rc = rwm_op_dn_massage( op, rs, "searchDN" );
|
||||
rc = rewrite_session_var_set( rwmap->rwm_rw, op->o_conn,
|
||||
"searchFilter", op->ors_filterstr.bv_val );
|
||||
if ( rc == LDAP_SUCCESS )
|
||||
rc = rwm_op_dn_massage( op, rs, "searchDN" );
|
||||
#else /* ! ENABLE_REWRITE */
|
||||
rc = 1;
|
||||
rc = rwm_op_dn_massage( op, rs, &rc );
|
||||
|
|
|
|||
Loading…
Reference in a new issue