Re: Centralizled Authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Suppose you're running phpBB with another php-driven application.
phpBB has a "user" table where the username/password/email/.. of each user
is stored at mysql. Once a user logs-in to the website, the "Last Login"
timestamp updates
on the "users" table at mysql.

How do I use LDAP in this type of application?

1) Move entire records of "Users" and their attributes (e.g.
last_login_time) to LDAP server?
In this mehtod, after each successfull login request, I also need to update
the related record on LDAP.

2)  Should I use LDAP to store only the username and passwords?
In this method, I need to update the record on MySQL database, but I should
keep the MySQL
and LDAP syncronized, since a user may want to change her password.

What do you think guys? Please let me know.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux