NotMac mit Leopard


Apple , ,


Das NotMac Challenge hat ja eine gute Software hervorgebracht mit welcher der komplette DotMac Dienst ersetzt werden kann. Der einzige Haken an der Sache ist, dass die Software wohl nicht mehr gepflegt wird und OS X Leopard damit nicht funktioniert.


Eine Alternative zu NotMac sind die DotMac Scripts, welche unter http://code.google.com/p/dotmac/ verfügbar sind. Der Aufwand für die Installation ist aber wesentlich höher, und ich hab das Gefühl, dass es auch viel langsamer ist.

Der einzige Grund warum NotMac nicht mit Leopard funktioniert ist, dass der DotMac Service auf dem Server nach Dateien sucht, die es nicht gibt. Diese Dateien sollten alle unter /Library/Application Support/NotMac/Storage/anonymous/ liegen. Um nun Leopard Unterstützung einzubauen, habe ich das komplette SVN Repository von DotMac ausgecheckt und alle Dateien abgeglichen. Wichtig ist z.B. dass alle clientConfiguration-10.5* Dateien verfügbar sind. Erst dann kann Leopard mit dem Server richtig sprechen. Somit muss nur das anonymous Verzeichnis mit dem entsprechendem Verzeichnis von DotMac abgeglichen werden.

Eine weitere Sache, die NotMac bei der Installation auf dem Client macht, ist das SSL Zertifikat in die KeyChain einzutragen. Das geht allerdings nicht mehr, da eine KeyChain verwendet wird, die unter Leopard nicht mehr existiert. Eine einfache Lösung hierfuer ist, per Browser auf die SSL Seite des NotMac Servers zu gehen, das Zertifikat auf den Desktop ziehen und im KeyChain auf “Immer vertrauen” stellen.

Vom DMG werden auch einige Einträge in der /etc/hosts gesetzt. Leopard braucht aber noch mehr Einträge, dass es richtig funktioniert. Alle benötigten Einträge sind:

XXX.XXX.XXX.XXX    www.mac.com syncmgmt.mac.com idisk.mac.com 
XXX.XXX.XXX.XXX    configuration.mac.com lcs.mac.com certinfo.mac.com 
XXX.XXX.XXX.XXX    delta.mac.com notify.mac.com publish.mac.com homepage.mac.com ical.mac.com
XXX.XXX.XXX.XXX    www.mac.com. syncmgmt.mac.com. idisk.mac.com. configuration.mac.com. 
XXX.XXX.XXX.XXX    lcs.mac.com. certinfo.mac.com. delta.mac.com. notify.mac.com. 
XXX.XXX.XXX.XXX    publish.mac.com. homepage.mac.com. ical.mac.com.
17.250.248.32    www.mac2.com
17.250.248.34    homepage.mac2.com
17.250.248.38    ical.mac2.com

Auch der vom DMG ausgefuehrte reload von /etc/hosts klappt unter Leopard nicht mehr. Der neue Aufruf ist nun sudo dscacheutil -flushcache.

Somit kann NotMac mit 3 Schritten für Leopard fit gemacht werden:

  • Dateien im anonymous Ordner erweitern
  • SSL Zertifikat manuell vertrauen
  • zusätzliche Einträge in /etc/hosts vornehmen

4 Kommentare zu “NotMac mit Leopard”

  1. Tom Sagt:

    Hey cool, vielen Dank für deine Mühe :-D

  2. Andre Sagt:

    Thanks, like to post this for our english speaking friends again :-)

  3. Andre Sagt:

    NotMac is not working cause the service is searching for files that don´t exist. These files should be place in /Library/Application Support/NotMac/Storage/anonymous/ . In order to run support Leopard I checked out the complete SVN repository of DotMac and checked all files. Important is e.g. that all clientConfiguration-10.5* are available, as Leopard is not able to talk with the server. So only the anonymous directory has to be adjusted with the according DotMac directory.

    Further more it is necessary to apply a SSL certificate. This does not work any longer as the KeyChain is used which does not exist in Leopard any longer. A simple solution is to go with the Browser on the SSL page of NotMac server an drag the certificate on the desktop and set in KeyChain “always trust”.

    The DMG file also set some entries within /etc/hosts. Leopard needs some more entries:

    XXX.XXX.XXX.XXX http://www.mac.com syncmgmt.mac.com idisk.mac.com
    XXX.XXX.XXX.XXX configuration.mac.com lcs.mac.com certinfo.mac.com
    XXX.XXX.XXX.XXX delta.mac.com notify.mac.com publish.mac.com homepage.mac.com ical.mac.com
    XXX.XXX.XXX.XXX http://www.mac.com. syncmgmt.mac.com. idisk.mac.com. configuration.mac.com.
    XXX.XXX.XXX.XXX lcs.mac.com. certinfo.mac.com. delta.mac.com. notify.mac.com.
    XXX.XXX.XXX.XXX publish.mac.com. homepage.mac.com. ical.mac.com.
    17.250.248.32 http://www.mac2.com
    17.250.248.34 homepage.mac2.com
    17.250.248.38 ical.mac2.com

    Also the reload of the DMG file on /etc/hosts does not work any longer. The new call is sudo dscacheutil -flushcache.

  4. Jeez Sagt:

    Wo kriegt man die Dateien für Schritt 1 her? Ich habe mir das Repo von SourceForge gezogen (ich vermute mal, daß das von sf.net/notMac gemeint ist; notmacchallenge.com scheint jetzt einem russischen Cybersquatter zu gehören); da gibt es nur clientConfiguration-1.0* und clientconfiguration-152*. 10.5 gibt es gar nicht.

    Es wäre unschön, wenn die DotMac Scripts die einzige verbleibende Alternative wären; wenn ich deren Anleitung richtig verstehe muß man dafür einen Apachen source-patchen, was ich lieber vermeiden möchte.


Kommentar hinzufügen