Commit 75841ac6 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Apply filter to info entry

parent 53709873
......@@ -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;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment