adfind -default -f "&(objectCategory=person)([EMAIL PROTECTED])" dn
 
You can change your search base as necessary. This also assumes that you want to check the primary SMTP address, and not match on a secondary address.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teo De Las Heras
Sent: Friday, February 10, 2006 2:50 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] ds* or joeware to get DN from email address

Are there any tools out there that can get me the DN from an email address?
 
I can write a script for this pretty easily, but I want to hand the task off to another admin that does not know scripting.  Having him use pre-existing tools will simplify things.
 
Teo

Reply via email to