Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Connection failed to the directory server. (2100)

Can't connect to directory server.


Error: Connection failed to the directory server. (2100)


Using Lion.


Any advice?

Posted on Jul 31, 2011 1:13 PM

Reply
34 replies

Nov 12, 2013 6:16 AM in response to crsrusl

Hello,


although it is an old discussion and many answers have been provided, I stumbled on the exact same problem under Server 3 (under Mavericks) and solved in a way that hasn't be illustrated here (?).


I realized that the IP address indicated under the servername in the Open Directory tab in Server was wrong. I checked with the following command line:


# sudo serveradmin settings dirserv

....

dirserv:treeConfiguration:odTree:_array_index:0:IPaddresses:_array_index:0 = "192.168.1.53"

....


whereas the correct ip address is 192.168.1.30. I then executed the following command:


# sudo changeip 192.168.1.53 192.168.1.30


checked that it worked:


# sudo serveradmin settings dirserv

....

dirserv:treeConfiguration:odTree:_array_index:0:IPaddresses:_array_index:0 = "192.168.1.30"

....


And since then, no more 2100 error ;-)


Note that before doing this, the "sudo changeip -checkhostname" command *was* successful. So even if it is for you, you may still try the "sudo changeip <old_ip> <new_ip>" trick.


Good luck.

Jul 22, 2014 3:35 PM in response to crsrusl

This helped me with this same error.


Check your Keychains and the SERVER CERTIFICATE for the server you are trying to connect to ON the client side machines to make sure they have not expired...AND make sure the SERVER Certificate on the SERVER is selected for ALL services.


Check the System Prefs/Network - DNS entries of each of the connections like VPN or ETHERNET or WIFI and make sure they have the STATIC IP of the server and the server name.


In USERS and GROUPS / Join Network / Directory Utility / You MUST also add the SERVER to the Search Policy/ Authentication / Custom Path..and add your server... once you have added it to the LDAPv3 Service.


This all helped me with finally "binding of the directory" issues.

Nov 19, 2014 8:39 AM in response to crsrusl

I had this issue for a while and finally fixed it. I think the issue started because I updated the certificate for my server and the network computers wouldn't grab the new server certificate. Here is all that I did and it fixed the issue.


1. On your server, open up the server app and turn off DNS services for a minute and turn them back on.

2. On the DNS settings tab I removed the name server record that wasn't working and readded it.


After about 5 minutes I was able to connect to the server and it's been working fine ever since!


Hope that helps some of you!

Connection failed to the directory server. (2100)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.