NotMac mit Leopard


Tags:


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/ verfuegbar sind. Der Aufwand fuer die Installation ist aber wesentlich hoeher, und ich hab das Gefuehl, 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 Unterstuetzung einzubauen, habe ich das komplette SVN Repository von DotMac ausgecheckt und alle Dateien abgeglichen. Wichtig ist z.B. dass alle clientConfiguration-10.5* Dateien verfuegbar 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 Loesung 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 Eintraege in der /etc/hosts gesetzt. Leopard braucht aber noch mehr Eintraege, dass es richtig funktioniert. Alle benoetigten Eintraege 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 fuer Leopard fit gemacht werden:
  • Dateien im anonymous Ordner erweitern
  • SSL Zertifikat manuell vertrauen
  • zusaetzliche Eintraege in /etc/hosts vornehmen


18. März, 2008

Kommentare


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

23. Mai, 2008, von Tom

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

30. Mai, 2008, von Andre

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 http://syncmgmt.mac.com http://idisk.mac.com
XXX.XXX.XXX.XXX http://configuration.mac.com http://lcs.mac.com http://certinfo.mac.com
XXX.XXX.XXX.XXX http://delta.mac.com http://notify.mac.com http://publish.mac.com http://homepage.mac.com http://ical.mac.com
XXX.XXX.XXX.XXX http://www.mac.com. http://syncmgmt.mac.com. http://idisk.mac.com. http://configuration.mac.com.
XXX.XXX.XXX.XXX http://lcs.mac.com. http://certinfo.mac.com. http://delta.mac.com. http://notify.mac.com.
XXX.XXX.XXX.XXX http://publish.mac.com. http://homepage.mac.com. http://ical.mac.com.
17.250.248.32 http://www.mac2.com
17.250.248.34 http://homepage.mac2.com
17.250.248.38 http://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.

30. Mai, 2008, von Andre

 

Kommentar hinzufügen