Hi,
I am in the works of setting up a Trac server for my (small) company and need a bit of help/guidance with the authentication mechanism.
We have for some time developed our own web application which our users access in their day to day work. It is build in php5.3 and includes a users database stored in a mysql database. I have been asked to look into the possibilities for Trac to use our existing user database in order to keep user maintenance to a minimum. Do you have any suggestions or tips for doing that?
Here is what I have come up with so far:
- Install Trac on our server (currently done with mysql/apache2/mod_python), but don't grant access to anyone on the net.
- Write a php wrapper script that
- Handles the authentication mechanism.
- Passes the request to Trac with the username included.
- Trac handles the request as the specified user
The problem is; I don't know how to do step 2.
Any comments?
Best regards Jørn