bill’s blog

Just another WordPress weblog

Browsing Posts tagged 1077

So last night I was trying to stand up a new replica against my OpenDirectory Master but it kept erroring out with a 1077 error. It was complaining about my credentials being incorrect. At first I though I must have fat fingered it… but after entering in the password one character at a time it still didn’t take. Looking through the slapconfig.log file (located in Library/Logs), I got the following error:


2009-02-09 22:08:02 +0800 - slapconfig -setmacosxodpolicy
2009-02-09 22:08:02 +0800 - slapconfig -createreplica
2009-02-09 22:08:02 +0800 - command: ssh root@192.168.171.10 /usr/sbin/slapconfig -checkmaster diradmin 0 4 4
2009-02-09 22:08:13 +0800 - ssh command failed with status 77
2009-02-09 22:08:13 +0800 - Error: Incorrect username or password. You must enter a directory domain administrator username and password.
(error = 77)

Everything was correct. I could ssh into the server using the root account. I could modify the directory (add/delete/modify accounts) using the diradmin account. But I still couldn’t bind the server. Turns out there is a bug that doesn’t allow you to bind the replica if the diradmin password contains anything but alpha-numerics. Change the password to something simple the replica binds without issue. So much for strong passwords!

Well today is the start of everything that I’ve taken this trip for. We’ll be updating the servers in Hong Kong today.

conair_hk

Setting up DNS, OpenDirectory, AFP shares and then migrating the user accounts over. Hopefully if all goes well we’ll be done by 10PM… hopefully!


bill_hk will_hk

6:15PM – Start Time
6:30PM – Got all users off server
7:30PM – Finally got the machine to boot from DVD
7:45PM – Got McDonald’s for dinner
8:00PM – Config’d host
9:10PM – Finally got DNS working… Hate DNS!
9:15PM – Started patching machine
9:30PM – Still waiting for the updates to download… Moving user data!
9:40PM – Downloads are done… Let’s bind to OpenDirectory!
10:00PM – Anyone know what a 1077 error is?
10:25PM – This network sucks…
10:40PM – Oh hey let’s test the Riverbed Device…
11:09PM – Strong passwords? Why bother?
11:34PM – Setting up Network Homes!
11:36PM – Oh wait… the directory doesn’t like diradmin any more.
12:19AM – Finished patching server
12:40AM – Fixed a few login issues
1:10AM – Tested all logins… They work.. I’m out of here!