Synology und Mac OS X Server Open-Directory (LDAP)

Im aktuellen DSM von Synology (DSM 3.2 Beta) kann man auch LDAP-Nutzer und Gruppen einbinden. Die Konfiguration ist dabei recht einfach: In der Systemsteuerung den Eintrag »LDAP« auswählen und den Server-Namen eintragen (beim ersten Test am besten keine Verschlüsselung wählen). Der Basis-DN entspricht dem im Server-Admin eingetragenen LDAP-Suchbeginn und anmelden kann man sich z.B. mit einem eigenen Nutzer (diradmin o.ä.). Der Bind erfolgt mit vollständigem DN, also der Kombination aus Basis-DN und Nutzer (die in cn=users liegen). Wenn also der Basis-DN dc=ldap,dc=domain,dc=tld lautet, so erfolgt der Bind via User diradmin z.B. mit uid=diradmin,cn=users,dc=ldap,dc=domain,dc=tld

Eine Besonderheit fällt auf: Wenn für den Nutzer im Open-Directory über den Arbeitsgruppenmanager verschiedene Kurznamen (Reiter »Allgemein«) für einen Nutzer vergeben wurden, werden diese im Attribut uid gespeichert. Dies führt dazu, dass der LDAP-Nutzer auf der Synology unter dem letzten Kurznamen in der Liste auftaucht. Ist der normale Nutzer-Account z.B. user1 und dessen letzte Kurzname Vorname.Nachname so taucht dieser User als Vorname.Nachname@ldap.domain.tld auf.

T3UXW09 Podcasts – Teil 1

Im ersten von fünf Podcasts zur T3UXW09 präsentieren Jens Hofmann und Andreas Beutel die Ergebnisse von Team 1 der TYPO3 User Experience Week 2009. Die T3UXW09 war im November 2009 im Thüringischen Behringen zur Verbesserung der Usability des TYPO3-Backends durchgeführt worden und hatte viele konkrete Verbesserungen erreicht, die zum Teil bereits in Version 4.3 eingeflossen sind. Die folgenden Podcasts sollen nun im Abstand von zwei Tagen veröffentlicht werden.

Im ersten Podcast zur T3UXW09 werden folgende Anpassungen vorgestellt

  • umsortierte Backend-Formulare
  • überarbeitete Page-Modul mit Drag&Drop
  • Backend-Grid-Editor1
  • ExtJS basierte Backend-Suche

Diese Features sind bisher nicht in TYPO3 Version 4.4 eingeflossen, das bereits einen Feature-Freeze erfahren hat. Die Integration in Version 4.5 zum Ende 2010 ist aber erklärtes Ziel. Team 1 bestand aus Jens Hoffmann, Kian Gould, Thomas Hempel, Jo Hasenau, Timo Schmidt und Michael Klapper.

Backend-Grid-Editor
Damit kann ein Entwickler die Ansicht im Backend an das Frontend-Layout anpassen. Das Modul steht zum Test auf Forge zur Verfügung.

Podcast als MP4, auf der TYPO3-Seite oder kostenlos in iTunes abonnieren.

Using mod_security 2.5 and Apache 2 on Mac OS X

Unfortunately recent MacPorts comes with mod_security 1.8.6 and the maintainer is not actively supporting updates (for details see this ticket). Since I wanted to test some settings on a local Apache installation on my Mac with the latest release (2.5.11) I used the information given in the ticket to patch and update my mod_security port.

This guide is straight forward and shows just the required changes, a working MacPorts installation with Apache 2 is mandatory. You simply have to edit the Portfile that contains the details for mod_security.

Step-by-step explanation

  1. Update your MacPorts installation by sudo port selfupdate and sudo port upgrade outdated (read this guide for more details on MacPorts selfupdate)
  2. Open the portfile for mod_security and replace the content of the file with the provided code. The portfile in my installation resides in/opt/local/var/macports/sources/rsync.macports.org/ release/ports/www/mod_security/Portfile


    Download the Portfile as text file

  3. Now you may install mod_security via MacPorts using this terminal command:sudo port install mod_security
  4. Open the Apache configuration file (/opt/local/apache2/conf/httpd.conf) in a text editor and add mod_security to the list.Open a new Terminal (the Termin.app resides in /Applications/Utilities on your harddrive) window and then type the following command to open and edit the file (the sudo command is required to get write-access to this file since it is normally not writable for you user account).sudo nano /opt/local/apache2/conf/httpd.confNow enter your password (the same you use to log in to your Mac). Use the cursor keys to scroll down to the section for the Dynamic Shared Object (DSO) Support and copy the following line below the last LoadModule… statement (see screenshot).LoadModule security2_module modules/mod_security2.so

    To save and leave the Nano editor press CTRL+X and confirm with Y (for Yes) to save.

  5. Reload the Apache server. The security module should now be loaded by Apache (start or restart Apache to commit changes).sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart

phpMyAdmin erreicht die 170.000 Downloads-Marke

Die von mehrwert betreute TYPO3-Erweiterung »phpMyAdmin« überschreitet die Grenze von 170.000 Downloads und ist damit nach News, TemplaVoila! und htmlArea RTE eine der beliebtesten im TYPO3-Extension-Repository (TER).

phpMyAdmin im TER

Das motiviert uns auch im Jahr 2010 weiter an der Verbesserung zu arbeiten – derzeit gibt es auch keine offenen Tickets, die Erweiterung ist vollständig kompatibel zu TYPO3 4.3. Selbst ältere Versionen bedienen wir mit einer extra angepassten Version.

Neben pMA pflegen wir z. B. auch noch die WebShell, eine Erweiterung, die TYPO3-Administratoren eine einfache Shell via PHP anbietet, sowie die A-Z Keyword List, eine Erweiterung, die aus den Schlüsselworten der Seiten eine Linkliste mit A-Z Index erzeugt.

Web Shell

A-Z Index

Google Page Speed

Google Page Speed, eine Erweiterung für Firefox und Firebug, soll Webseiten schneller machen und ist als als Open Source verfügbar.

Google veröffentlicht mit Page Speed eine Firefox-Erweiterung, die Web-Designern und -Entwicklern helfen soll, die Ladezeiten ihrer Seiten zu verringern. Dabei geht Page Speed allerdings einen Schritt weiter als andere, ähnliche Firefox-Erweiterungen.
Bislang kam Page Speed nur bei Google intern zum Einsatz. Die Firefox-Erweiterung bettet sich in Firebug ein und schlägt beim Laden von Webseiten Maßnahmen zu deren Optimierung vor. Dabei optimiert Page Speed beispielsweise automatisch die verwendeten Bilder und stellt eine komprimierte Version zur Verfügung, die direkt in der Webseite verwendet werden kann.

(Via Golem.de)

Mozilla Jetpack: Firefox Extensions with Added Thrust

Mozilla Jetpack: Firefox Extensions with Added Thrust: „Jetpack is a new experimental project from Mozilla that could revolutionize how Firefox browser extensions are built and deployed.

[…]

Jetpack’s primary aim is to make extension development and delivery even easier:

  • HTML, CSS and JavaScript will be the only tools required. If you can code for the web, you can create a Jetpack widget.
  • Extensions will be streamed and accessed from a URL.
  • You can develop code directly in the browser using Bespin.
  • Installation and debugging is handled without restarting and uses common tools such as Firebug.
  • A lightweight and versioned API is provided.
  • An extendable set of toolkits and API libraries such as jQuery, Google Maps, Twitter and Delicious will be available.
  • An about:jetpack page shows installed extensions, source code, memory use and other useful tools.

Jetpack is available as a standard Firefox add-on which can be installed from the project page.

(Via SitePoint Blogs.)

YUI3: Draggable DataTable Rows

Neu in YUI3 (befindet sich in der Entwicklungsphase) und von Gonzalo Cordero schön in seinem Artikel »Draggable DataTable Rows« beschrieben.

A recent project of mine required an implementation of DataTable where rows could be moved around with Drag and Drop functionality. After looking through the YUI gallery of examples, I realized that the feature I was trying to implement was a little bit different from the ones I saw. So I decided to implement my own solution. In this article I’ll explain how I combined YUI’s DataTable and Drag and Drop components, some workarounds for the challenges I encountered, and how I was able to improve upon my initial solution by using the new YUI3 codeline (which is currently available in preview mode).

(Via Yahoo! User Interface Blog.)

Aptana PHP

Aptana veröffentlicht Entwicklungsumgebung für PHP (als freies Plug-in für Aptana Studio

Die Entwicklungsumgebung Aptana PHP steht in einer ersten Version 1.0 zum Download bereit. Die Software basiert auf Eclipse und bietet Funktionenwie z.B. ein integrierter Codeassistent, eine Debuggerunterstützung, Syntaxhervorhebung, Codegenerierung und Refactoring. Dazu noch PHP-typische Funktionen wie ein eingebetteter PHP-Server, Unterstützung für Remote-Debugging und die PHPDoc-Erstellung.

PHP development and deployment just got way easier. Today, we’re pleased to announce the 1.0 availability of the Aptana PHP development environment. It’s got all the things you’d expect from a PHP IDE, plus all the Ajax tooling and other power tools from Aptana Studio. Combine that with the integrated PHP app hosting, staging and management features in Aptana Cloud and you’ve got an end-to-end PHP development and deployment environment with unprecedented ease of use.

Meldung auf der Aptana Website

YAML-Template für TYPO3 jetzt unter der GPL

Seit dem 1. September 2008 stehen alle aktuellen und künftigen Versionen des YAML-Templates (basiert auf dem bekannten CSS-Baukasten YAML) unter der GPL und dürfen kostenlos und ohne Zahlung einer Lizenzgebühr auch komerziell verwendet werden.

Der Entwickler des TYPO3 Templates schreibt:

Warum dieser Schritt?
Abgesehen von den Querelen, die sich mit der Auszahlung der Einnahmen aus den Lizenzverkäufen an mich ergeben haben, habe ich dies schon seit längerer Zeit überlegt und geplant. Die Antwort ist ganz einfach. Ein freies und quelloffenes CMS wie TYPO3 lebt davon, daß soviele Entwickler wie möglich dazu beitragen, daß es besser und leistungsfähiger wird. Lizenzgebühren für ein einzelnes Modul zu verlangen, paßt nicht zum Konzept von TYPO3.

Anders als das TYPO3-Template steht YAML selbst weiterhin unter der Creative Commons Lizenz (CC-A 2.0), also die Attribution Lizenz. Das heisst, für die kostenfreie Nutzung des YAML-Frameworks ist die Rückverlinkung zur YAML-Homepage in der Fußzeile der Website oder im Impressum vorgeschrieben.