Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 479

Table of Contents

Advertisement

and the database contains entries for "c=US" and "o=Example, c=US", but no
entry for "ou=Product Division, o=Example, c=US", you should set the
matched
urls
When sending an
client or an
to specify the referral URLs.
For LDAP v3 referrals, you can call the
LDAP v3 clients and collect them for LDAP v2 clients. You can pass the array of
collected referrals to the urls argument of
example:
struct berval **urls;
...
slapi_send_ldap_referral( ld, e, &refs, &urls );
slapi_send_ldap_result( ld, LDAP_PARTIAL_RESULTS, NULL, NULL, 0, \
If you want to define your own function for sending result codes, write a function
complies with the type definition
SLAPI_PLUGIN_DB_RESULT_FN
your function.
See Also
slapi_str2filter()
slapi_send_ldap_search_entry()
slapi_send_ldap_search_entry()
Sends an entry found by a search back to the client.
Syntax
#include "slapi-plugin.h"
int slapi_send_ldap_search_entry( Slapi_PBlock *pb,
Slapi_Entry *e, LDAPControl **ectrls, char **attrs,
int attrsonly );
parameter to:
o=Example, c=US
LDAP_PARTIAL_RESULTS
LDAP_REFERRAL
urls );
Functions for Sending Entries and Results to the Client
result code back to an LDAP v2
result code back to an LDAP v3 client, use
slapi_str2filter()
slapi_send_ldap_results()
send_ldap_result_fn_ptr_t
parameter in the parameter block to the name of
to send referrals to
. For
and set the
Chapter 15
Function Reference
urls
479

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents