Authenticate Trac Against phpBB

So, Chuck, over at Cobra wanted to get his trac site up and running and was wondering about using the exisiting accounts that people had in the phpBB3 forums. Trac being Python, and phpBB being, obviously, PHP, there was no stock way of accomplishing this.

First, Trac's authentication meme is basically: get someone else to do it. Generally speaking, this is the web server. That's all fine and dandy, but some people want a bit more. Thankfully, Matt Good wrote the Account Manager plugin. This neat little plugin lets you auth against the trac db, htpasswd files, htdigest files, etc. It also allows for easier management of accounts. The most wonderful thing about it, however, is the IPasswordStore interface it defines. This little beauty lets you auth against just about anything where the input is a username and password.

Well, amazingly, phpBB manages to authenticate users via a username and password. Graciously, Cobra sponsored me to write up an IPasswordStore implementation to use the existing phpBB database as the authentication store for the adjoining Cobra trac site. Hence the birth of PhpBbAuthPlugin. So, for all you phpBB junkies that need to run Trac sites, you now have an option where with you can keep your accounts one and the same.


Hey, phpBB guys, don't you think that 73 columns in your user table is a bit excessive?