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

Can't create a Directory Administrator

Hello,

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.


User uploaded file

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

Posted on May 5, 2012 12:54 PM

Reply
Question marked as Best reply

Posted on May 5, 2012 1:26 PM

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.

-Graham

8 replies
Question marked as Best reply

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.

-Graham

May 5, 2012 2:44 PM in response to John.Kitzmiller



WARNING: Improper use of the sudo command could lead to data loss

or the deletion of important system files. Please double-check your

typing when using sudo. Type "man sudo" for more information.



To proceed, enter your password, or type Ctrl-C to abort.



Password:



Primary address = 192.168.1.139



Current HostName = TLAB-GLOBAL.COM



The DNS hostname is not available, please repair DNS and re-run this tool.



dirserv:success = "success"

TLAB-GLOBAL:~ drclarencenixon$



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 192.168.1.100

You server needs a fully qualified domain name. Call it server.tlab-global.com. (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 Admin.app NOT Server.app 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 192.168.1.1) 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 192.168.1.100 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:

host 192.168.1.139


The output from the command will look a bit like this: 192.168.xxx.xxx.in-addr.arpa domain name pointer server.example.com.

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 server.tlab-global.com. Where 'server' is the name of your server.


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


sudo changeip 192.168.1.139 192.168.1.100 tlab-global.com server.tlab-global.com


That command says that you're changing the IP address of your server from 192.168.1.139 to 192.168.1.100. It also says that you want to change your hostname from tlab-global.com to server.tlab-global.com.


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.

192.168.1.100

Enter the following in the subnet field

255.255.255.0

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 tlab-global.com.

Select your server's name in the list below.

Change the IP address below so it shows 192.168.1.100


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!


-Graham

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.

Jun 20, 2012 10:48 AM in response to gracoat

Okay, I followed your instructions except for the last one. The server is beginning to function properly again, but I just have one last question. In your response you said




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 tlab-global.com.

Select your server's name in the list below.

Change the IP address below so it shows 192.168.1.100



I don't see a "DNS" button in Server Admin.

Can't create a Directory Administrator

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