slapi_dn_ignore_case()

slapi_dn_ignore_case() converts all of the characters in a distinguished name (DN) to lowercase.

Note: A variable that is passed in as the DN argument is also converted in-place, therefore this API is deprecated. See slapi_dn_ignore_case_v3().
For example, for the following DN,
DN: cn = John Doe, ou = Engineering , o = Darius
the function returns:
cn = john doe , ou = engineering , o = darius
Syntax
#include "slapi-plugin.h"
char *slapi_dn_ignore_case ( char *dn );
Parameters
dn
The DN that you want to convert to lowercase.
Returns
The DN with all characters in lowercase.