Michael Engelhart wrote: > > When i tried doing this using the add(dn, modlist) function, it failed > with an error saying the "dn: attribute type undefined" Are you sure that your entry data in the modlist contains the attribute used for RDN? Please post the code. Ciao, Michael.