If you want to match on any smtp address (primary or any
secondaries)
adfind -gc -b -f
"&(objectCategory=person)(proxyaddresses=smtp:[EMAIL PROTECTED])" -dn
That will hit every
domain in the forest too.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Coleman, Hunter
Sent: Friday, February 10, 2006 5:23 PM
To: [email protected]
Subject: RE: [ActiveDir] ds* or joeware to get DN from email address
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: [email protected]
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
