Functions for Managing DNs
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 );
Parameters
This function takes the following parameters:
dn
Returns
The DN with lowercase characters. Note that variable passed in as the
is also converted in-place.
See Also
slapi_dn_normalize()
slapi_dn_isbesuffix()
Determines whether or not the specified distinguished name (DN) is the suffix of
the local database. Before calling this function, you should call
slapi_dn_normalize_case()
lowercase.
300
Netscape Directory Server Plug-In Programmer's Guide • August 2002
o=example.com
DN that you want to convert to lowercase.
to normalize the DN and convert all characters to
), or if the specified DN is the suffix of
argument
dn