Converts a distinguished name into the user friendly format.
#include <ldap.h>
char *ldap_dn2ufn (
const char *dn);
(IN) Points to the distinguished name to be converted.
The user friendly format is defined in RFC 1781. The format strips off the types and places a comma between the components of the name. Components which have commas in their names are placed in quotation marks.
The memory for the user friendly format is newly allocated and should be freed with a call to the ldap_memfree function.