Re: Advice on how to write an LDAP AD user query
- From: "Joe Richards [MVP]" <humorexpress@xxxxxxxxxxx>
- Date: Thu, 25 Aug 2005 20:55:04 -0400
You can't base an LDAP query dynamically upon what the object name is being checked. You would need to dump all users with smtp addresses and compare the username with the address.
joe
-- Joe Richards Microsoft MVP Windows Server Directory Services www.joeware.net
slinkydonkey@xxxxxxxxxxx wrote:
Hello All
I need to be able to qrite a fairly simple LDAP query in AD to bring back the following:
All active users (in an OU called users) who don't have an SMTP email address which starts username@domain for example (the user name is a number).
Can this be easily be done I use AD 2003 daily and need this information.
Thanks in Advance
.
- References:
- Advice on how to write an LDAP AD user query
- From: slinkydonkey
- Advice on how to write an LDAP AD user query
- Prev by Date: Upgrading Active Directory on Windows 2000
- Next by Date: Re: Exchange 2000 in a domain where another Exchange 2000 already existed
- Previous by thread: Advice on how to write an LDAP AD user query
- Next by thread: Netdiag error
- Index(es):
Relevant Pages
|
Loading