Slapi_Is_Rootdse(); Slapi_Str2Entry() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions for Managing Entries
A size of 1k if the entry is empty.
Description
When determining the size of an entry, only the sizes of the attribute values are
counted; the size of other entry values (such as the size of attribute names,
variously-normalized DNs, or any metadata) are not included in the size
returned. It is assumed that the size of the metadata, et al., is well enough
accounted for by the rounding of the size to the next largest 1k . This holds true
especially in larger entries, where the actual size of the attribute values far
outweighs the size of the metadata.
When determining the size of the entry, both deleted values and deleted
attributes are included in the count.

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 parameter:
dn
Returns
This function returns one of the following values:
1
0

slapi_str2entry()

Converts an LDIF description of a directory entry (a string value) into an entry of
the
Slapi_Entry
354
Netscape Directory Server Plug-in Programmer's Guide • October 2004
The DN that you want to test to see if it is the root DSE entry.
if
is the root DSE.
dn
if
is not the root DSE.
dn
type.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents