Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trac Using Database Authentication

Is it possible to use a database for authentication with Trac? .htpasswd auth is not desired in this install.

Using Trac .11 and MySQL as the database. Trac is currently using the database, but provides no authentication.

like image 911
mctom987 Avatar asked Jun 11 '09 16:06

mctom987


2 Answers

Out of the box, Trac doesn't actually do its own authentication, it leaves it up to the web server. So, you've got a wealth of Apache-related options available to you. You could maybe look at something like auth_mysql to let you keep user credentials in a database.

Alternatively, take a look at the AccountManagerPlugin on trac-hacks.org

like image 160
Paul Dixon Avatar answered Oct 17 '22 20:10

Paul Dixon


You can use Account Manager Plugin with SessionStore

The AccountManagerPlugin offers several features for managing user accounts:

  • allow users to register new accounts
  • login via an HTML form instead of using HTTP authentication
  • allow existing users to change their passwords or delete their accounts
  • send a new password to users who’ve forgotten their password
  • administration of user accounts
like image 43
fglez Avatar answered Oct 17 '22 21:10

fglez