I’ve a bbs system up and running storing the user accounts and their passwords (as md5 hash) in a database. The trac belonging to the bbs stores it’s data in a sqlite db and gave me a hard time for setting up useraccounts. I finally managed to validate users against the data from the mysql database. This is how it works for a standalone tracker project configured as apache2 site with mod_python:


‹Location /trac›
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /path/to/trackerenv
PythonOption TracUriRoot /trac
PythonDebug off
‹/Location›

‹LocationMatch /trac/login›
AuthType Basic
AuthName "Please login with your bbs (forum) account"
Require valid-user

AuthUserFile /dev/null
AuthBasicAuthoritative off
Auth_MYSQL on
Auth_MySQL_Authoritative off

Auth_MySQL_DB thedbname
Auth_MySQL_Username theloginused
Auth_MySQL_Password thepasswordused
Auth_MySQL_Password_Table thetablewiththeuserdata
Auth_MySQL_Username_Field thefieldwiththeusernames
Auth_MySQL_Password_Field thefieldwiththeuserpasswordsstoredasmd5
Auth_MySQL_Empty_Passwords Off
Auth_MySQL_Encryption_Types PHP_MD5
‹/LocationMatch›

With that settings I was able to produce a login request on the login-site of the tracker that could be feed with users and passwords from my existing bbs database tables. Now the users could login to the tracker and I could remove ticket/wiki creation/modification from the anonymous access to prevent spambots spamming the tracker.


trac-admin /path/to/trackenv permission remove anonymous TICKET_CREATE TICKET_MODIFY WIKI_MODIFY WIKI_CREATE
trac-admin /path/to/trackenv permission add authenticated TICKET_CREATE TICKET_MODIFY WIKI_MODIFY WIKI_CREATE

Jan 05 2009

Riestertag

beko | Allgemeines | 0 Comments

Vorgestern war es wieder so weit. Ich bin wieder ein Jahr näher an der Rente :D

..und alles ist wie immer – nur schlimmer :/

Zu Neujahr wünscht man sich ja im Allgemeinen einen “Guten Rutsch” gefolgt von “Gesundheit” und dergleichen.

Heute wurde mir dazu von einer zufriedenen Kundin ein “sicherer Arbeitsplatz” gewünscht.

Dez 21 2008

Winterschlaf

beko | VW-Bus | 0 Comments

Winterschlaf Wenn andere in den Winterschlaf gehen, wachen wir wieder langsam auf. Nach 1,5 Jahren Standzeit auf meinem Stellplatz habe ich nun meine Süße wieder angeworfen. Nach dem Einbau und Aufladen der Batterie sowie 5 Litern Sprit sprang der Bus auf Anhieb an. Nach so langer Zeit und mitten im Winter. Einfach klasse :D

Dummerweise ging der Motor auch nach 5 Minuten Leerlauf wieder aus. Gründe dafür gibt es viele – so zieht der Motor noch immer Nebenluft, wie damals als ich den Bus dort abgestellt habe. Danach habe ich auf jeden Fall erst einmal 2 Stunden lang jeden Kontakt im Motorraum blank gelecktgeputzt und danach wieder versiegelt. Nun läuft der Motor wieder wie er soll und ich kann mich um die “nebensächlichen” Probleme kümmern.

Außerdem habe ich inzwischen mit einem Vertreter des TÜVs Kontakt aufgenommen, da mir ja eine Vollabnahme blüht. Alles machbar.. ich muss nur noch irgendwo einen Anhänger auftreiben, da ich den Bus ohne Schilder nicht schleppen darf und mir eine Doppelkarte irgendwo zu viel Aufwand ist.

Wenn alles klappt rollen wir bald wieder auf der Strasse. Davon träume ich schon länger wieder ;)

Page 5 of 46