How can I let my users to log into a phpBB forum by entering their user credentials while these credentials are stored in a separate MS SQL database?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to create a custom authentication plugin for phpbb. Since your requirement is authentication against a database, it should be pretty straight forward to re-use the existing plugin phpbb uses for authentication against it’s own internal database.
Authentication plugins are located in
<install_dir>/includes/authAn authentication plugin must be named
auth_<your custom name>.phpSo in your case, create a copy of
auth_db.phpand call it e.g.auth_mssql.phpAuthentication plugins are documented here: http://wiki.phpbb.com/Authentication_plugins