Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Mountain Lion Server has been one of the most infuriating things ever recently. Above and beyond tons of crashing I've been completely unable to do the following in a way that makes sense to both me and Apple.

  1. Name your server srv01.myoffice.domain.com
  2. Create an OpenDirectory database as a Master from scratch as dc=domain,dc=com

I can rename my server temporarily (taking down vital services in the process due to the automagicliciousness) and create a new profile, however when I switch back to the original domain name the default search base for server related authentication magic is now dc=srv01,dc=myoffice,dc=domain,dc=com.

I've tried everything I can think of including using slapconfig backupdb/restoredb and slaving the server off of another then promoting it. This seems rather silly and Apple shows no response to many requests to resolve this.

Does anybody out there have the magic to have OpenDirectory work as it should.. being able to give it any domain you want and then having all vital services operate correctly.

share|improve this question
    
Why would you want to introduce such a disparity between DNS and OD domain in the first place? –  Ansgar Wiechers Oct 7 '12 at 13:25
    
Say you have more than one OS X server. Why should your OD domain be named dc=srv01,dc=... Also say you move away from that naming convention, or you get bought out, or you simply want to make a change. –  whardier Oct 7 '12 at 16:56
    
For simplicity sake I'd like to use dc=example,dc=com (the TLD) but I don't really want my machine named example.com because it does a LOT of other things (being a server) that would like me to use a more distinct name. Should I have two machines named example.com just in case one goes down? No.. –  whardier Oct 7 '12 at 16:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.