Failed to setup Open Directory Replica.
I have upgraded my SL Server from 10.6.8 to Lion 10.7, but during the server assistance, the migrating OD Service failed, after restarting, the system work fine, but the OD role became Standalone directory.
So I changed it back to Master, and then imported the backup file from Archive, all the service for OD seemed well, but I can not login with the network account.
I tried to upgrade the server to 10.7.2, and the OD service seemed work as I can login with the network account.
After that, I tried to setup the replica to syn the data, but it failed with the "Augment user records", so I searched it and found the command line to setup replica in Terminal, it showed lack of DNS, so I also setup DNS server, and from server admin, all things go through, but the role kept.
Looking into logs, it shows error after the first 3 step: Creating computer record for replica; Updating master's configuration; Creating ldap replicator user. And then, Error retriving primary master (error = 69); Error retrieving kerberos realm; CopyReplicaArray: ldap_search_ext_s failed. Also serval Error found: Unable to locate primary master; Primary master node is nil! Unable to locate ldapreplicas record: 0 (null).
So I searched in forum, it seems it occurred not only in my case, but no solution found.
Is there anyone can help? Thank you in advance!
Mac Pro, Mac OS X (10.7.2)