Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 306

Table of Contents

Advertisement

Functions for Managing DNs
If you want to check if the DN is the suffix of the local database, call the
slapi_dn_beparent()
Syntax
#include "slapi-plugin.h"
char *slapi_dn_parent( char *dn );
Parameters
This function takes the following parameters:
dn
Returns
This function returns one of the following values:
The DN of the parent entry.
Null
no parent (for example,
See Also
slapi_dn_beparent()
slapi_dn_plus_rdn()
Adds an RDN to DN.
Syntax
#include "slapi-plugin.h"
char *slapi_dn_plus_rdn( const char *dn, const char *rdn);
Parameters
This function takes the following parameters:
dn
rdn
306
Netscape Directory Server Plug-In Programmer's Guide • December 2003
function instead.
DN of the entry for which you want to find the parent.
if the specified DN is
o=example.com
DN value to which a new RDN is to be added.
RDN value that is to be added to the DN value in dn.
, if the DN is an empty string, or if the DN has
NULL
).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents