Returns
This function returns one of the following values:
•
0
•
-1
•
A positive value (an LDAP error code) if an error occurred.
See Also
slapi_filter_test_simple()
slapi_filter_test_ext()
slapi_filter_test_ext()
Determines if an entry matches a given filter.
Syntax
#include "slapi-plugin.h"
int slapi_filter_test_ext( Slapi_PBlock *pb, Slapi_Entry *e,
Slapi_Filter *f,int verify_access, int only_test_access)
Parameters
This function takes the following parameters:
pb
e
f
verify_access
only_test_access
Returns
This function returns one of the following values:
•
0
•
-1
if the entry matched the filter or if the specified filter is NULL.
if the filter type is unknown.
pblock from which the user is extracted.
The entry on which filter matching must be verified.
The filter used for filter matching.
0 when access checking is not to be done.
1 when access checking must be done.
0 when filter matching must be done.
1 when filter matching must not be done.
if the entry matched the filter or if the specified filter is
if the filter type is unknown or if the entry does not match the filter.
Functions for Dealing with Filters
.
NULL
Chapter 15
Function Reference
373
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?