How can I Search AD for a name?

S

Steve Gould

I have an issue in AD. When a meeting notice is sent to "all staff" (all AD
users) the sender will get an error that two people are not in Exchange any
more.

The two people in question have been gone a long time so it must have been
imported from Exchange 5.5 into 2003 when we migrated a year ago. My guess
is that the two people were once named as "send on behalf" delegates.

Since I really don't know where in AD they would be (could be elsewhere
other than delegates), how can I go about a search to find the names? What
tool would I use. I am really only familiar with ADSIEdit, Users and
Computers, etc. I'm sure there is a way to do an LDAP search, but I have
never used that tool.

Sincerely,

Steve Gould
 
C

Chriss3 [MVP]

Hello Steve
You can use dsquery or ldp.

dsquery * domainroot -filter "((Name=chris*))" -attr sAMAccountName Name

replace chris with the name you search for.

--
Regards
Christoffer Andersson
Microsoft MVP - Directory Services

No email replies please - reply in the newsgroup
 
J

Jerold Schulman

\
dsquery * domainroot -filter
"(&(objectCategory=Person)(objectClass=User)(Name=Steve*))" -attr
distinguishedName sAMAccountName displayName -limit 0

I have an issue in AD. When a meeting notice is sent to "all staff" (all AD
users) the sender will get an error that two people are not in Exchange any
more.

The two people in question have been gone a long time so it must have been
imported from Exchange 5.5 into 2003 when we migrated a year ago. My guess
is that the two people were once named as "send on behalf" delegates.

Since I really don't know where in AD they would be (could be elsewhere
other than delegates), how can I go about a search to find the names? What
tool would I use. I am really only familiar with ADSIEdit, Users and
Computers, etc. I'm sure there is a way to do an LDAP search, but I have
never used that tool.

Sincerely,

Steve Gould


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
J

Jerold Schulman

\
dsquery * domainroot -filter
"(&(objectCategory=Person)(objectClass=User)(Name=Steve*))" -attr
distinguishedName sAMAccountName displayName -limit 0

I have an issue in AD. When a meeting notice is sent to "all staff" (all AD
users) the sender will get an error that two people are not in Exchange any
more.

The two people in question have been gone a long time so it must have been
imported from Exchange 5.5 into 2003 when we migrated a year ago. My guess
is that the two people were once named as "send on behalf" delegates.

Since I really don't know where in AD they would be (could be elsewhere
other than delegates), how can I go about a search to find the names? What
tool would I use. I am really only familiar with ADSIEdit, Users and
Computers, etc. I'm sure there is a way to do an LDAP search, but I have
never used that tool.

Sincerely,

Steve Gould


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
S

Steve Gould

My fault. I failed to specify a Windows 2000 domain. Dsquery appears to be a
Windows 2003 tool.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top