20.3. slapi_be_exist()

Description

Checks if the backend that contains the specified DN exists.

Syntax

#include "slapi-plugin.h"
int slapi_be_exist(const Slapi_DN *sdn);

Parameters

This function takes the following parameter:

sdn Pointer to the DN in the backends for which you are looking.
Returns

This function returns one of the following values:

  • 1 if the backend containing the specified DN exists.
  • 0 if the backend does not exist.