Home › Forums › OS X Server and Client Discussion › Open Directory › Yeah, I hosed my OD now what?
- This topic has 1 reply, 1 voice, and was last updated 21 years, 9 months ago by
moonshark413.
-
AuthorPosts
-
February 11, 2005 at 3:18 pm #360683
Anonymous
GuestI was changing ISPs yesterday and took the opportunity to refine my network, going from public class IPs for the clients to a NAT’d private LAN…
This meant that I needed to do changeip on the OD master and connected servers, and it worked OK until I got greedy…
At first I did changeip and left the hostname alone, and it worked great. Then I thought, “Self, you know, you can give all of these servers “hq” names, like “server.hq.domain.net” instead of “server.domain.net” , they are no longer available online anyway and it will justify running your own DNS server! Increased server count!”
So i set up a local dns server, verified it reversed and tried to changeip to the new new “HQ” hostname…
FUBAR
I did have a replica on a file-server I had not brought up, so I did it, just changed it’s ip normally and promoted it to master
my users can authenticate now (I bound the vpn server and another file server to it, works OK) but the automount for the Users share (served from the replica-become-master) is stuck in the old domain (od.domain.net) wheras the “working” od is just “127.0.0.1”
I can’t auth to the domain to disable the automount on the share, I cant disable the share and recreate it with an automount in the “127” domain (because the automount is still in the fubar’d domain) and I have no idea how to rectify this properly
February 11, 2005 at 3:32 pm #360684moonshark413
ParticipantI can fix my problem three ways as I see it
(in ascending order of conceptual difficulty?)1 – fix the automount
2 – fix the OD domain to match the server reality
3 – import the users with passwords into a new OD masterI tried the 3rd already, to create a new od.hq.domain.net master and import the users LDIF and OD database from the replica, but it refused to bring them in because the LDIF is full of references to od.domain.net. I thought about editing a copy (as a text file), but there are lots of places where there is formatted data that shifts when I do a global replace. I saw that and didnt bother trying to import it
so – any tips on one of thes options? Is there another route?
-moonshark413
-
AuthorPosts
- You must be logged in to reply to this topic.