Convert 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 , o = Airius
the function returns:
cn=Moxie Cross,ou=Engineering,o=Airius
Syntax
#include "slapi-plugin.h"
char *slapi_dn_normalize( char *dn );
Parameters
The function has the following parameters:
Returns
The normalized DN. Note that variable passed in as the dn argument is also converted in-place.
Example
[To be added]
See Also