This function creates a new Slapi_RDN structure and initializes its RDN with the value taken from the DN passed in the dn parameter.