24.48. slapi_is_rootdse()

This function determines if an entry is the root DSE. The root DSE is a special entry that contains information about the Directory Server, including its capabilities and configuration.
Syntax

#include "slapi-plugin.h"
int slapi_is_rootdse ( const Slapi_DN *dn );

Parameters

This function takes the following parameter:

dn
The DN that you want to test to see if it is the root DSE entry.
Returns

This function returns one of the following values:

  • 1 if dn is the root DSE.
  • 0 if dn is not the root DSE.