Solved

move mailbox ldap error

Posted on 2011-03-16
7
1,902 Views
Last Modified: 2012-08-14
I am trying to move mailboxes between 2 different forests but when I run the move-mailbox command I get the following error:

An Active Directory error 0x51 occurred when trying to check server <server name> suitability: 'The LDAP server is unavailable'

I have used the ldp tool and get the same error when trying to connect to either my source or target exchange servers.

If I use the ldp tool to connect to either my source or target domain controllers it connects just fine.  I have checked the firewall settings on my target exchange server and have opened up all TCP and UDP ports as well as trying turning the firewall off completely.

My target exchange server is running windows server 2008 as is my source exchange server.  Both Exchange servers are 2007.

I would think it was a DNS issue except I can't make a ldap connection to my exchange server when running the ldp tool on the exact same server.

Any thoughts or ideas would be greatly appreciated
0
Comment
Question by:a245439
  • 4
  • 3
7 Comments
 
LVL 7

Expert Comment

by:waleeda
ID: 35149594
Open Exchange Management Console -> Right Click Organization Configuration -> Click Modify Configuration Domain Controller -> Check Use Default Domain Controller...Problem should be fixed - if not - reset ex services
0
 

Author Comment

by:a245439
ID: 35150184
Thank you for your response,

I only have one DC to choose from so I removed it and restarted the services to no avail and then added it back, restarted services to no avail.  Here is the output I get from ldp

0x0 = ldap_unbind(ld);
ld = ldap_open("201.168.0.3", 389);
Error <0x51>: Fail to connect to 201.168.0.3.
0
 
LVL 7

Expert Comment

by:waleeda
ID: 35150554
can you run this test locally on the server it self just to make sure it's functionality issue or network issue
0
Promote certifications in your email signature

Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

 

Author Comment

by:a245439
ID: 35150644
That's the thing, I am running the ldp tool locally on my exchange server.  

I think I'm looking at this all wrong.  LDAP is never supposed to connect to the Exchange server but only to the AD from Exchange correct?  This is my first foray into Exchange Administration so it's taking me a little while to get up to speed, but if I understand it correctly, Exchange makes the ldap connection to AD to retrieve all of the necessary object info (which makes sense) so it would stand to reason that the ldap connection in the move-mailbox cmdlet should be connecting to the AD server and NOT the exchange server.

Would this be a correct assumption?

0
 
LVL 7

Accepted Solution

by:
waleeda earned 500 total points
ID: 35150701
yes it should communicate to the AD not to the exchange :)
0
 

Author Comment

by:a245439
ID: 35150934
That definitely makes more sense.
0
 
LVL 7

Expert Comment

by:waleeda
ID: 35150941
so is it ok now?
0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now