def METHOD_NAME(self, section, option):
    """
    Like get, but interpret the value as a LDAP DN, and sanitize it by
    removing the extra spaces.
    If the value is not a valid DN, a ldap.LDAPError exception will be
    raised.
    """
    return ",".join(ldap.explode_dn(self.get(section, option)))