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

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 char *dn );

Parameters

This function takes the following parameters:

dn

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

Returns

This function returns 1 if dn is the root DSE; otherwise the function returns 0.