Re: Mail Enable : Discovering non-Mail enabled users



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
.



Relevant Pages

  • RE: 3 MUD Migration Strategy thoughts please
    ... Active Directory Operations Overview ... Once you have decided to implement an in-place upgrade process will go like ... you can install Exchange server and transfer mailbox etc. ... Why Upgrade from Windows NT 4.0 to Windows Server 2003 ...
    (microsoft.public.windows.server.migration)
  • Re: Why do i need to know AD ?
    ... DNS Support for Active Directory Technical Reference ... Is the directory service included in the Windows Server 2000/2003 family. ... controller to interact with domain controllers in the domain running Windows ... used to configure replication between sites. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Forest Setup Question
    ... Deployment Kit, which you can purchase in hard copy form at Amazon (or ... Designing the Active Directory Logical Structure ... Enabling Advanced Windows Server 2003 Active Directory Features ... Deploying the Windows Server 2003 Forest Root Domain ...
    (microsoft.public.windows.server.general)
  • Re: Forest Setup Question
    ... Deployment Kit, which you can purchase in hard copy form at Amazon (or ... Designing the Active Directory Logical Structure ... Enabling Advanced Windows Server 2003 Active Directory Features ... Deploying the Windows Server 2003 Forest Root Domain ...
    (microsoft.public.exchange.misc)
  • Exchange 5.5 to Exchange 2003
    ... I will migrate all to a new Active Directory Domain using the following steps: ... 2.Promote the BDC to the PDC, which demotes the PDC to a BDC. ... 4.Upgrade the new PDC to Windows Server 2003. ...
    (microsoft.public.exchange.setup)

Loading