Find the backend used to service the database.
#include "slapi-plugin.h" Slapi_Backend *slapi_be_select_by_instance_name( const char *name );
This function takes the following parameter:
Pointer to the value of the CN for the backend whose structure you want, such as userRoot.
This function returns NULL if no backend with the appropriate name is configured. Otherwise, it returns a pointer to the backend structure.
This function finds the backend that should used to service the database named as the parameter.
You should not free the returned pointer.