Skip navigation

Can't create a Directory Administrator

576 Views 8 Replies Latest reply: Jun 20, 2012 1:41 PM by solwatts RSS
solwatts Level 1 Level 1 (10 points)
Currently Being Moderated
May 5, 2012 12:54 PM


I've recently upgraded to Mac OS Lion Server, and I'm having a big problem that's keeping me from finishing my last bit of work on a project.  I've been trying to create network users so that they can sign in on any computer, and access their files via the server, but I've been told time and time again to create a Directory Administrator.


Screen Shot 2012-05-05 at 3.46.14 PM.png

When I try to create one, I get this error, and I have no idea how to fix this. Any ideas?

  • gracoat Level 3 Level 3 (645 points)
    Currently Being Moderated
    May 5, 2012 1:26 PM (in response to solwatts)

    DNS issue.


    In the terminal, type:


    sudo changeip -checkhostname


    Read carefully what it says.

    I believe it'll give an example of what you need to type to fix it.

    If it doesn't, copy and paste the results of the command here and we'll try to help out.  Usually that kind of problem is pretty simple to fix.


  • John.Kitzmiller Level 3 Level 3 (870 points)
    Currently Being Moderated
    May 5, 2012 1:58 PM (in response to solwatts)

    You don't place it into the dialog. The command is to check to make sure DNS is set up properly for your server.


    Please post the output of the command and we'll try to help you.

  • gracoat Level 3 Level 3 (645 points)
    Currently Being Moderated
    May 5, 2012 8:49 PM (in response to solwatts)

    Okay...  You'll have to run the changeip command again.  But first consider a few things.

    Your server needs a name.  Call it server.  (though you could call it whatever you want)

    Your server needs a static IP address.  Call it

    You server needs a fully qualified domain name.  Call it  (note the dot at the end.  I'm not ending a sentence here!)


    Remember those things!  You'll need them in the future.


    Does your computer have DNS running?

    In terminal type:

    sudo serveradmin status DNS


    If not, you'll need to set it up. That's a deeper topic, and I'm REALLY hoping you have it set up already.

    The only way to set up DNS is in the Server  NOT  You can download this from apple.  Just google "server admin tools 10.7"


    Find out what the router address is on your network.  (it looks like it's but some routers are weird and choose the top of the subnet for an IP.

    Find out what the router address is by lookin in System Preferences under network.  Click advanced, click the TCP/IP tab.

    Remember it! (or write it down)


    It appears that your computer is running on the 192.168 local addresses.  So let's assume your IP should be  NOT 1.139.  (139 is pretty unusual, but if you really want to keep it you can)


    You'll need to know what the current hostname for your computer is.  In terminal type: 



    The output from the command will look a bit like this: domain name pointer

    The end of the line is the current hostname. 


    Judging from the output from your changeip command from your post, you need to 'cement' your hostname into the server's various services.  It looks like you want to use  Where 'server' is the name of your server.


    With all this info you type the following command into terminal:


    sudo changeip


    That command says that you're changing the IP address of your server from to  It also says that you want to change your hostname from to


    If your current hostname and new hostname need to be the same, that's not a problem.  Enter it twice.


    Once you've done that, you need to ensure that your IP address in system prefs is 1.100

    Open system prefs.

    Click the network button

    click the advanced button

    Click the TCP/IP

    Select Manually from the "configure IPv4" pull down menu.

    Enter the following in the IP address field.

    Enter the following in the subnet field

    Enter the Router's IP address in the router field.


    Lastly, change the DNS entry for your server to match the server's new IP address if it isn't set already.

    In Server Admin:

    Select your server.

    Click the DNS button.

    Click the zones button at the top

    Click the 'down arrow' triangle to show the hostnames in your zone

    Select your server's name in the list below.

    Change the IP address below so it shows


    Save and close server admin.


    Run the following command in terminal:

    sudo changeip -checkhostname


    If you get something that says "the names match, there's nothing to change" then you've done it right, and you should be able to set your directory administrator's name now.


    Lots of info, and lots of things to go wrong.  I've double checked my instructions and find that they work as long as my english is understandable.  I hope it works out for you!

    Let us know!



  • dahelms Calculating status...
    Currently Being Moderated
    May 12, 2012 9:01 AM (in response to solwatts)

    I was getting this same message when trying to setup my server to provide RADIUS support to my Airport Extreme.  After configuring my server to connect wirelessly to the Airport device, I had to select my server on the Server sidebar and edit the host name on the Network tab.  After that completed and tied the host name to the IP on my wireless adapter, I stopped getting this message.


    Now when I select the Airport device on the Server sidebar, select "Allow user name and password login over Wi-Fi.  Users will be able to log in to your wireless network using RADIUS", and go through the set up Open Directory dialog, I now get the message saying this computer is already configured to manage network accounts.  It cannot be configured again. 


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.