Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

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

Open Directory Replica Issue

Simple setup - two 10.5.8 Intel XServe systems, fully patched, one is an Open Directory Master serving about 300+ accounts for a school. The other is a like configured 10.5.8 server part of the Open Directory (joined) network and I want it to be a replica of my master.

I think I have determined that the error lies within the launchd process on the master server. I am hypothesizing that the process is not being elevated enough to run the slapconfig utility properly. Why? Don’t know.

*GUI OD REPLICA:*
I try to run the GUI application to promote a system to replica and I am greeted with an 1077 error (which relates to an incorrect Directory Administrator User and Password issue). I have changed my diradmin user and password about 2 dozen times and nothing suffices.

The username/password combo I am employing works from Workgroup Manager just fine (to peruse the db of users and such).


So I dug a lot deeper and found that during the process, I get two SSHD error logs on my master server:

+com.apple.launchd(1) (0×10fa90.sshd[1237]) Could not setup Mach task special port 9: (os/kern) no access+

*COMMAND LINE PROCESS:*
Hmmm…. So I then, from the ‘replica-to-be’ run the command line version for creating the replica:

+slapconfig -createreplica servername diradminname+

and it asks me for my root password and I enter it – it works, then it gets to the part where it wants the Directory Admin password and the -creatreplica process then re-runs the slapconfig process with a -checkmaster and the parameters I just specified (it specifically calls: +ssh root@servername /usr/sbin/slapconfig -checkmaster diradminname 0 4 4+) and it fails with a:

+Error: Incorrect username or password. You must enter a directory administrator username and password. (error=77)+

But the combination I am using, does work.

Any ideas?

I cannot get my 2nd 10.5.8 box to become a replica.

Intel XServe, Mac OS X (10.5.8)

Posted on Nov 3, 2009 8:50 PM

Reply
4 replies

Dec 21, 2009 10:37 AM in response to Mac-Hero

as said already make sure DNS is running exactly and that the two machines use the same NTP source. SSH has to be on in order to Open Directory.

second thing is try not to promote from a directory machines to a directory replica. demote to standalone (clears out the kerberos info for the second machine) repromote to directory replica.

Open Directory Replica Issue

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