39.13. slapi_sdn_get_ndn()

Description

This function retrieves the normalized DN (in a canonical format and lower case) from a Slapi_DN structure and normalizes sdn if it has not already been normalized.

Syntax

#include "slapi-plugin.h"
const char * slapi_sdn_get_ndn(const Slapi_DN *sdn);

Parameters

This function takes the following parameter:

sdn
The Slapi_DN structure containing the DN value.
Returns

This function returns the normalized DN value.