Amidabrian

Q: 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

Close

Q: Unable to setup Open Directory.

  • All replies
  • Helpful answers

  • by Strontium90,

    Strontium90 Strontium90 May 7, 2016 1:51 PM in response to Amidabrian
    Level 5 (4,077 points)
    Servers Enterprise
    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

  • by Leopardus,

    Leopardus Leopardus May 7, 2016 8:41 PM in response to Amidabrian
    Level 4 (1,122 points)
    Desktops
    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

  • by Amidabrian,

    Amidabrian Amidabrian May 8, 2016 12:08 AM in response to Strontium90
    Level 1 (27 points)
    Servers Enterprise
    May 8, 2016 12:08 AM in response to Strontium90

    Thanks for that. I have put in terminal. So basically it means that I am starting from scratch?  I have been following Todd Olthoff series to set this up.  Any issues I will post again.