mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 03:29:35 -05:00
Apply filter to info entry
This commit is contained in:
parent
53709873dd
commit
75841ac6c7
1 changed files with 10 additions and 3 deletions
|
|
@ -190,11 +190,18 @@ do_search(
|
|||
goto return_results;
|
||||
|
||||
} else if ( entry != NULL ) {
|
||||
send_search_entry( &backends[0], conn, op,
|
||||
entry, attrs, attrsonly, NULL );
|
||||
rc = test_filter( NULL, conn, op,
|
||||
entry, filter );
|
||||
|
||||
if( rc == LDAP_COMPARE_TRUE ) {
|
||||
send_search_entry( &backends[0], conn, op,
|
||||
entry, attrs, attrsonly, NULL );
|
||||
}
|
||||
entry_free( entry );
|
||||
|
||||
send_ldap_result( conn, op, LDAP_SUCCESS,
|
||||
NULL, NULL, NULL, NULL );
|
||||
entry_free( entry );
|
||||
|
||||
goto return_results;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue