This function takes the following parameters:
The Slapi_RDN structure containing the RDN value(s).
Type (cn, o, ou, etc.) of the RDN searched.
Repository that will hold the value of the first RDN whose type matches the content of the parameter type. If this parameter is NULL at the return of the function, no RDN exists within rdn.