Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 258

Table of Contents

Advertisement

Functions for Managing DNs
slapi_dn_beparent()
Gets a copy of the distinguished name (DN) of the parent of an entry, unless the
specified entry's DN is the suffix of the local database.
If you don't want to check if the entry's DN is the suffix of the local database, call
the
slapi_dn_beparent()
Syntax
#include "slapi-plugin.h"
char *slapi_dn_beparent( Slapi_PBlock *pb, char *dn );
Parameters
This function takes the following parameters:
pb
dn
Returns
This function returns one of the following values:
The DN of the parent entry.
NULL if the specified DN is NULL, if the DN is an empty string, if the DN has
no parent (for example,
the local database.
See Also
slapi_dn_parent()
slapi_dn_ignore_case()
Convert all characters in a distinguished name (DN) to lowercase.
Syntax
#include "slapi-plugin.h"
char *slapi_dn_ignore_case( char *dn );
258
Netscape Directory Server Plug-In Programmer's Guide • May 2002
function instead.
Parameter block
DN of the entry that you want to find the parent for
o=example.com
), or if the specified DN is the suffix of

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents