Functions for Managing DNs
458
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
Returns
This function gets the parent DN of an entry within a given backend. The parent
DN is returned is
sdn_parent
, unless
sdn
is empty or is a suffix of the backend
itself. In this case,
sdn_parent
is empty.
Memory Concerns
A
Slapi_DN
structure for
sdn_parent
must be allocated before calling this
function.
See Also
slapi_sdn_get_parent()
slapi_sdn_get_dn()
Gets the DN from a
Slapi_DN
structure.
Syntax
#include “slapi-plugin.h”
const char * slapi_sdn_get_dn(const Slapi_DN *sdn);
Parameters
This function takes the following parameter:
Returns
This function returns the DN value.
Description
This function retrieves the DN value of a
Slapi_DN
structure. The returned value
can be the normalized DN (in a canonical format and in lower case) if no other
value is present.
See Also
slapi_sdn_get_ndn()
slapi_sdn_get_parent()
slapi_sdn_get_rdn()
sdn
The
Slapi_DN
structure containing the DN value.
Содержание NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Страница 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Страница 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 26: ...Types of Directory Server Plug Ins 26 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 38: ...Compiling a Directory Server Plug In 38 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 54: ...An Example Pre Operation Plug In 54 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 90: ...Processing an LDAP Abandon Operation 90 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 110: ...Using SASL with an LDAP Client 110 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 122: ...Specifying Start and Close Functions 122 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 214: ...Summary of Data Types and Structures 214 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 554: ...Functions for Registering Additional Plug Ins 554 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 596: ...Parameters for the Virtual Attribute Service 596 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...