I'm trying to get the destination DN of a user object in LDAP format
(CN=username,ou=bla,ou=bla,ou=bla,o=org). If I use source DN() then it
comes out in org\ou3\ou2\ou1\username format. Is there an easy way to get
the format I want or do I have to write some code to convert it?

I require this as I use it in an external script that is run when an
account is provisioned.