2 Replies Latest reply: Jul 2, 2012 4:17 AM by Driver28
Israel Brewster Level 1 Level 1 (15 points)

I have an old G5 XServe running 10.5.8 that is set up as an OpenDirectory master. I need to move the OpenDirectory information (Users and Groups) to a new machine running Lion Server. How can I do this? I tried using the "Archive" function in server admin on the 10.5 machine to create an archive, and then restoring on the 10.7 machine, but while I didn't get any errors, none of my users moved across either. I could, of coruse, do an export/import from Workgroup Manager, but as that wouldn't transfer the passwords, it's of limited use. How can I move the database across servers? Thanks.

  • Israel Brewster Level 1 Level 1 (15 points)

    I discovered eventually that using the Archive function does, in fact work - as long as the hostname of the new machine was the same as the old. If the hostname was different (as, in fact, it was when I was trying it, since it was physically a different machine), then when trying to restore on 10.7 in the Server Admin, while it doesn't give any errors it also doesn't work. Once I managed to dig up the command line method, however, I discovered that it was giving an error about the hostname being different - Server Admin simply doesn't bother to show that . Renaming the old machine and changing the hostname of the new one to match what the old one was did allow me to move the directory across.

  • Driver28 Level 1 Level 1 (5 points)

    I'm soon going through a similar move... just shares, DHCP , DNS and OD is relevant. DId you set up the new server as new, change the hostname and then import OD, in that order? all shares reside on external storage, they should retain permissions, right?


    Oh, what version of 10.7 did you import to? 10.7.4?