[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2162
  • Last Modified:

move mailbox ldap error

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
a245439
Asked:
a245439
  • 4
  • 3
1 Solution
 
waleedaCommented:
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
 
a245439Author Commented:
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
 
waleedaCommented:
can you run this test locally on the server it self just to make sure it's functionality issue or network issue
0
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

 
a245439Author Commented:
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
 
waleedaCommented:
yes it should communicate to the AD not to the exchange :)
0
 
a245439Author Commented:
That definitely makes more sense.
0
 
waleedaCommented:
so is it ok now?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now