Converts a distinguished name (DN) to canonical format (no leading or trailing spaces, no spaces between components, and no spaces around the equals sign). For example, given the following DN:
cn = Moxie Cross , ou = Engineering , dc = example , dc = com
the function returns:
cn=Moxie Cross,ou=Engineering,dc=example,dc=com
#include "slapi-plugin.h" char *slapi_dn_normalize( char *dn );
This function takes the following parameters:
DN that you want to normalize.
This function returns the normalized DN. Notice that the variable passed in as the dn argument is also converted in place.