Working With Dns And Rdns; Determining If A Dn Is The Root Dn - Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual

Table of Contents

Advertisement

Working with DNs and RDNs

To remove values from an entry, call
In certain situations, you may want to add an attribute and its values to an
entry while not replacing any attribute values that already exist. To do this, call
the
Working with DNs and RDNs
In certain situations, the front-end passes DNs to the back-end through the
parameter block. For example, when calling the add function, the parameter block
includes a parameter that specifies the DN of the new entry to be added.
If you need to manipulate DNs within parameter blocks, you can call the following
front-end routines:
Table 5-2
Function
slapi_dn_isroot()
slapi_dn_parent()
slapi_dn_beparent()
slapi_dn_issuffix()
slapi_dn_isbesuffix()
slapi_dn_normalize()
slapi_dn_ignore_case()
slapi_dn_normalize_case()

Determining if a DN is the Root DN

To determine if a DN is the root DN, call
returns
DN is not the root DN.
64
Netscape Directory Server Plug-In Programmer's Guide • May 2002
slapi_entry_attr_merge_sv()
Front-End Functions for Manipulating DNs
if the specified DN is the root DN of the local database. It returns
1
slapi_entry_delete_values_sv()
function.
Description
Determines if a DN is the root DN (the DN of the
privileged superuser)
Gets a copy of the parent DN
Determines if a DN is the child of another DN
Determines if a DN is a suffix served by one of
the server's back-ends
Normalizes a DN
Converts all characters in a DN to lowercase
Normalizes a DN and converts all characters to
lowercase
slapi_dn_isroot()
.
. This function
if the
0

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Directory server 6.02

Table of Contents