Re: Mail Enable : Discovering non-Mail enabled users
- From: "Joe Richards [MVP]" <humorexpress@xxxxxxxxxxx>
- Date: Sun, 17 Sep 2006 18:02:30 -0400
Check out the Exchange chapter I originally wrote for the Windows Server COokbook, I am pretty sure that discusses that. It also made it (in modified format) to the Active Directory Third Edition and Active Directory Cookbook Second Edition.
--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
Jack Carico wrote:
Thanks much, I have the latest O'Reilly Active Directory books on my Safari bookshelf and they outline many of the attributes that are populated in this process but they don't say which are created/destroyed by the MailEnable/MailDisable process..
"Joe Richards [MVP]" wrote:
You should be able to query for users who don't have a legacyExchangeDN or don't have a mailNickname.
Something like (all one line)
adfind -gc -b "" -f "&(objectcategory=person)(objectclass=user)(!(mailnickname=*))" -dn
--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
Jack Carico wrote:I have found several resources that describe how to programatically mail enable a user. What I need to be able to do is identify which user objects have not yet been mail enabled. Preferably using an LDAP query against the Active Directory but I'll settle for any reliable method. The only reliable way I have found so far is to try to enable every account and those that have already been enabled will cause an error to be thrown. Am I missing some hidden magic attribute that I can check for this purpose?
Thanks for you assistance
- References:
- Re: Mail Enable : Discovering non-Mail enabled users
- From: Joe Richards [MVP]
- Re: Mail Enable : Discovering non-Mail enabled users
- Prev by Date: Re: Unable to see client permissions in ESM tool!!
- Next by Date: retriving <mail:htmldescription>
- Previous by thread: Re: Mail Enable : Discovering non-Mail enabled users
- Next by thread: Like-Statment in WebDAV-Query
- Index(es):
Relevant Pages
|
Loading