This function returns the normalized DN. Notice that the variable passed in as the dn argument is also converted in place.