39.2. slapi_dn_normalize_case()

Converts a distinguished name (DN) to canonical format and converts all characters to lowercase. Calling this function has the same effect as calling the slapi_sdn_get_ndn() function.
Syntax

#include "slapi-plugin.h"
char *slapi_dn_normalize_case( Slapi_DN *dn );

Parameters

This function takes the following parameter:

dn
DN that you want to normalize and convert to lowercase.
Returns

This function returns the normalized DN with all lowercase characters. A variable passed in as the dn argument is also converted in place.