Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

slapi_be_select()

Finds the backend that should be used to service the entry with the specified DN.

Syntax

#include "slapi-plugin.h"
 Slapi_Backend * slapi_be_select( const Slapi_DN * sdn );

Parameters

This function takes the following parameter:

sdn

Pointer to the DN of which you wish to get the backend.

Returns

This function returns a pointer to the default backend, which is an empty backend allowing only bind operations, if no backend with the appropriate suffix is configured. Otherwise, it returns a pointer to the backend structure.

Memory Concerns

You should not free the returned pointer.

See Also

slapi_be_select_by_instance_name()