Can’t connect to my iMac after upgrading to OS X Lion

Since I upgraded my laptop to OS X Lion, I was not able to connect to my iMac (still running OS X Snow Leopard) anymore. Neither with Screen Sharing nor with direct file access. A quick search in the web couldn’t help me further so I decided to investigate in the issue by myself. The first starting point was to look into the Console and see if there where any error logged while trying to connect to the iMac.

The following error occurred repeatedly in the file. Another search showed me the sources of mDNS but that wouldn’t help me out on that topic.

4/27/12 5:15:09.659 PM mDNSResponder: CacheRecordRmv ERROR!!: How can CurrentAnswers already be zero for 00007F9843836290 _kerberos._udp.MYDOMAIN.LOCAL. (SRV) DNSServer <>:0

Continue reading

Funktionsgraphen zeichnen

Vor einiger Zeit habe ich einige Programme und Webseiten zum Zeichnen von Funktionsgraphen gesucht und getestet. Heute möchte ich euch meine beiden “Testsieger” präsentieren.

Absoluter Favorit, leider aber nur auf dem Mac anwendbar: Grapher. Mit Grapher kann man nicht nur 2D sondern auch 3D Funktionsgraphen zeichnen lassen. Diese Abbildung zeigt einen 2D Funktiongraphen. Hier die Normalparabel um -3 auf der y-Achse nach unten verschoben.

Continue reading

Syntax highlighting in wordpress

As you can see a few posts earlier, I’m playing with a syntax highlighter for my blog.

title.pngFor the syntax hightlighting itself, I found GeSHi and I’m happy with the result of the hightlighting.

The integration with my wordpress blog is currently done with the WordPress GeSHi Plugin, but it does not produce an acceptable result for me. Open points for the syntax highlighting integration are:

  • Visual Editor must not destroy the format of the <code> part.
  • The pre element must be used, but it can not handle the word-wrap automatically at the end of the line. Maybe, I’ll use a IFrame for this.

Notebook is coming earlier

latit_d820.jpgJust now, I got a Mail from our administrator. The notebooks are on the way and the approximate delivery date is tuesday, the 06.03. :-)

We checked the most important tools for their compatibility to Windows Vista and all tools seem to have at least a patch. So lets start working with Vista!

Trac and the DiscussionPlugin

Today, I tried to integrate the DiscussionPlugin into my Trac 0.10.3 sandbox. But I must notice, that the DiscussionPlugin seems to be incompatible with the version and/or the WebadminPlugin. The discussion plugin where not found several times and disturbed the webadmin. So my last chance was to uninstall the plugin from the plugins folder. Tomorrow, I will try to install it on the python path to make it globally available. Maybe it works better this way.

How to integrate pam with winbind

To use samba with winbind for your pam authentication, you have to edit the process file (e.g. apache2) under /etc/pam.d/ and add the following lines:

  1. #%PAM-1.0
  2. auth    required
  3. account required

If you are already using a configuration, you can add the winbind authentication by simply changing “required” to “sufficient”. The order of the plugins in the file matters to the order of authentication.

The following configuration tries to authenticate against winbind and if this fails, against the unix module.

  1. auth    sufficient
  2. auth    required