Mac OS X Server: Migrate data from NetInfo to LDAP only on a NetInfo master

If you want to migrate data from NetInfo to LDAP, you must do this on the NetInfo master. To verify that the system you are upgrading on is not a clone, execute this command in Terminal:

nicl .. read /

This displays the master property. Here's an example:

master: xserver/network

The first part of the master property is the host name. This is the system on which you need to perform the migration. You can find this system's IP address by entering the following command in Terminal, where <master> is the name of your master:

nicl .. read /machines/<master>

In our example command above, we got the following output:

nicl .. read /machines/xserver name: xserver ip_address: 10.1.1.100 serves: ./network xserver/local

Therefore, our system at IP address 10.1.1.100 is the master in this case. This would be the system on which we'd perform our migration. Do the same, noting your variables accordingly.

Published Date: Feb 18, 2012