Unable to setup Open Directory.

I have reinstalled OSX server on my Mac Mini. The only problem is that I am not able to setup Open Directory. Please can anyone help me to set this up.

Brian

Posted on May 7, 2016 10:49 AM

Reply
3 replies

May 7, 2016 1:51 PM in response to Amidabrian

What error(s) are you seeing? Where is it failing? What is reported in the logs? Did you setup DNS properly?


When you say you reinstalled server, did you also reinstall the entire operating system? It is possible that your OD is in a confused state. You can try resetting everything with:


sudo slapconfig -destroyldapserver


If you have remnants of a previous OD master, this should clear up everything and allow you to start over. And once again, make sure you begin with DNS. DNS is critical to the proper function of OD.


Reid

Apple Consultants Network

Author - "El Capitan Server – Foundation Services"

Author - "El Capitan Server – Control & Collaboration"

Author - "El Capitan Server – Advanced Services"

:: Exclusively available in Apple's iBooks Store

May 7, 2016 8:41 PM in response to Amidabrian

If you have re-installed, what do you mean exactly by that? Did you have a working server just before your problems started or does it mean that you have not used it before?

If the former is true, the advice given by Strontium90 should be followed to the tee.

If the latter is the case, http://www.toddolthoff.com/technology/ECS10.11.html has a great series to assist a newcomer through the process. Just something to note beforehand:

  • In terms of the FQDN, never ever use .local as it is reserved for Bonjour. Don't use the .private as well, because later you might develop your server site to be a server in the real world.
  • Only use a registered Domain Name which belongs to you. If you don't own a Domain Name, then use a totally bogus TLD which doesn't exist in the real world.
  • Get (buy), a real certificate, preferably a multi for your server.

If you are unsure how to continue, ask


HTH

Leo

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unable to setup Open Directory.

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