Functions for Dealing with Filters
Syntax
#include "slapi-plugin.h"
int slapi_vattr_filter_test( Slapi_PBlock *pb, Slapi_Entry *e,
struct slapi_filter *f, int verify_access);
Parameters
This function takes the following parameters:
pb
e
f
verify_access
Returns
This function returns one of the following values:
•
0
•
-1
•
An LDAP error code (an integer greater than zero) if an error occurs.
Description
This function supports the case where the filter specifies virtual attributes.
Performance for a real-attribute-only filter is the same as that for
slapi_filter_test()
See Also
slapi_filter_test()
366
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Parameter block containing information about the filter.
Entry against which the filter is to be tested.
Filter against which the entry is to be tested.
Access control:
• 0 if access checking is not to be done; that is, bypass any
access control.
• 1 if access checking must be done; that is, verify that the
current user has access rights to search the specified entry.
if the filter matched.
if the filter did not match.
.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 - PLUG-IN and is the answer not in the manual?
Questions and answers