The Translatename() UDF can also get you the DN for a user or computer.
_________________________
Home page: http://www.kixhelp.com/hb/