AuthDb
From WebCalendar Wiki
Suppose you already have a database of users and passwords from one or more other applications. If you don't mind getting your fingers in a little PHP code, WebCalendar can use the external database to authenticate users. Just use the following steps:
- Install WebCalendar using its default web-based user auth
- Copy includes/user.php to includes/user-local.php.
- Modify includes/user-local.php to use your db tables for authentication. You can also set $admin_can_add_user to false if you don't want users to be added from WebCalendar. You will mostly be changing references to the webcal_user table to use your own table instead. If you needs some examples take a look at the various other user-*.php files in the includes directory.
- Modify includes/settings.php: Change user_inc from "user.php" to "user-local.php"
--Cknudsen 18:50, 11 August 2007 (MST)
