Find Email in Active Directory Domain Using CSVDE/LDIFDE

Posted on March 16th, 2009 in Active Directory, Excahnge 2000, Excahnge 2003, Microsoft, Server 2003, Server 2008 by Gil Kreslavsky

In windows 2003 and later you can use AD saved queries , but for windows 2000 domain the only way is by using CSVDE/LDIFDE
The following command should do the work :You will receive file output

csvde -f outputfilename.csv -d “dc=domain,dc=com” -r “(&(mailnickname=*)(proxyAddresses=smtp:email@yourdomain.com))” -l name

Change  “dc=domain,dc=com” to  your AD domain name and suffix, and email@yourdomain.com with the email address you’re looking for.

To find all recipients who have an email address from a particular SMTP domain, you can use a wild card (*), see example bellow:

csvde -f  filename.csv -d “dc=domain,dc=com” -r “(&(mailnickname=*)(proxyAddresses=smtp:*@yourdomain.com))” -l name

Prepare Your Windows Domain for DST 2009

As you probably know Microsoft releases set of DST patches for their systems every year at December .
To avoid DST calendar issues  make sure to install/deploy the following updates to entire organization.


The country that was skipped in MS  Day Light Saving update are Argentina/Brazil and Chile.

  • Daylight saving time begins: October 19th, 2008
  • Daylight saving period ends: March 15th, 2009

Since the new dates published by the federal are different from what was defined in the initial years, Windows-based computers am able to not correctly interpret the time such a is related to the transition to daylight saving time.

General recommendations

  • There is no hotfix to be had at this time to update MS Operating Systems with the 2008-2009 DST dates for Argentina.
  • Please note that if you adjust the machine’s clock manually, you may have adverse effects on your environment.
  • Before applying the changes on Windows Operating Systems to reflect the change in Daylight Saving Time in Argentina, be aware of possible issues that am able to affect Microsoft Office Outlook and Exchange Server.
  • Contact Microsoft Support prior to any modification if you are unsure about the steps to emulate in condition to be prepared for the Daylight Saving Time change in Argentina.

Impacts for Outlook clients and Exchange

  • For the year 2008-2009, customers paying for the ‘(GMT -3:00) Buenos Aires’ minute zone have a delta period at the start on of the DST as follows:
    Delta-Argentina-BuenosAires
    From Sunday, October 19th, 2008 to Saturday, December 28th, 2008.
  • And for customers using the ‘(GMT -3:00) Georgetown’ time zone have a delta range that comprehends the whole DST period:
    Delta-Argentina-GeorgeTown
    From Sunday, October 19th, 2008 to Saturday, December 28th, 2008

As result appointments may be off 1 hour. This may happen for both recurring and single-instance appointments.
The appointments created in the wake of the DST dates have been updated on the operating system will have the correct time.

Read More about Argentina 2008-2009 DST at MS Blog

Read More about Brazil 2008-2009 DST at MS Blog

Read More about Chile 2008-2009 DST at MS Blog

BlackBerry Enterprise Server: Users Not Receiving Messages to Handheld After Mailbox Move

Posted on July 24th, 2008 in BES Server, Black Berry, BlackBerry Device, Excahnge 2000, Excahnge 2003, Excahnge 2007 by Gil Kreslavsky

Users Not Receiving Messages to Handheld After Mailbox Move

BlackBerry server maps user mailboxes by using a process called worker treads. Blackberry version [4.0.4.5], is capable of mapping worker treads back to a user mailboxes when a mailbox gets moved to a different store by scanning the GAL for changes in the Server DN.BES users may not receive messages to their handheld device after a mailbox move .

After mailbox move the BES server should pick up the new mailbox location and start sending again within 15min.

The only thing you have to watch is moving the BES service account mailbox, Also be sure the BES service account has the appropriate permissions on the new Exchange server Information Store before you start moving user mailboxes, full send as/receive as. I would suggest moving the user mailboxes and then the service account

To move user mailboxes:

Move them as you normally would, use the Exchange mailbox move wizard.

RIM suggests you run the mailbox cleanup utility on the BES server after mailbox move

Restart BES Services:

* Mailbox move within the same server are not updated by BES and messages are not received by BB devices until BES services are restarted. This is because BES scans user’s mailboxes for changes in the Server DN. Since mailboxes are moved within the same server, BES is unaware of the mailbox move.

Using Cleanup Utility:

* Run C:\Program Files\Research In Motion\Blackberry Enterprise Server\Utility\handheldcleanup -u

Move BB Service Account:

* Log in to Blackberry Enterprise Server as the blackberry system account
* Stop all Blackberry Enterprise Server services
* Move the blackberry system mailbox to Exchange 2003
* On the blackberry Server: Go to Start-> Programs-> Blackberry Enterprise
* Server-> Edit the MAPI Profile for the Blackberry Server
* Type “new Exchange server name” in the Microsoft Exchange Server field
* Type “blackberry service account name” in the Mailbox field
* Run Handheld Cleanup utility on BES Server “C:\Program Files\Research In Motion\Blackberry Enterprise Server\Utility\handheldcleanup -m”
* Start Blackberry Enterprise Server service