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


Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2137

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.  

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.  

How to get mod_auth_pam running on Apache 2.2.x.


Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/htdocs/v165158/thirsch.de/wordpress/wp-content/plugins/deans_code_highlighter/geshi.php on line 2147

mod_auth_pam is not supported and/or developed any longer and the latest available version works only with apache 2.0.x. The new apache 2.2 uses a new authentication mechanism and the old mod_auth_pam does not work, if you only install it to your local apache and use it with the follow configuration:

  1. span class=”st0″>"Testingarea"

You have to turn off the new apache 2.2 basic authentication to get the module up and running. You can do this in two different ways. The first one is to disable the whole module, the second and better one is to disable it through a directive.

For the first solution, you can use the tool a2dismod to disable the module mod_auth_basic.

For the second way, you have to add this lines to the configuration above.

  1.  

In the second way, the error.log of apache shows the following lines:

  1.  

The positive message is: you can ignore them ;-) It means, that the mod_auth_pam does not register an AuthBasicProvider and therefore it is null and crashes. Not nice, but it works.

Debian stable vs. testing

Yesterday, I installed Debians current stable version 3.1 rev 4 ‘sarge’ on a vmware. After the installation, I tried to install python2.4, apache2.2, subversion1.4.2 …

I could install the python2.4 package, but the package python was only available for python2.3. After creating the links (e.g. python -> python2.4) manually, I tried to get the apache2.2 package. To use debians apt for this job, I had to add the testing sources to the apt list. After this step, he tried to upgrade my system with a new kernel and some new tools. Enough for me! ;) I went to the debian package page and downloaded the testing net boot cd.