Author Topic: Password Plugin - MySQL table?  (Read 2686 times)

Offline cmuser

  • Newbie
  • *
  • Posts: 9
Password Plugin - MySQL table?
« on: August 19, 2010, 07:30:34 AM »
Hi,

I am trying to setup the Change Password Plugin, but having great difficulties.
I've manually created two DB fields in the users table, one called password and the other modified to get the query to work.
The query is
Code: [Select]
"SELECT update_passwd(%c, %u)"
I get a successful update message, but when i come to login again, the new password wont work and only the old one will.
If this because it has not connected/updated on the IMAP server?

I am connected to an IMAP server/courier.

Not sure what i am doing. Hope someone can assist.
« Last Edit: August 19, 2010, 07:43:25 AM by cmuser »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Password Plugin - MySQL table?
« Reply #1 on: August 19, 2010, 10:07:06 AM »
Not sure what you mean by "manually created two DB fields in the users table" you shouldn't need to create the fields, you should change the query to modify your imap's servers password fields.

Offline cmuser

  • Newbie
  • *
  • Posts: 9
Password Plugin - MySQL table?
« Reply #2 on: August 19, 2010, 05:21:36 PM »
Quote from: skaero;29513
Not sure what you mean by "manually created two DB fields in the users table" you shouldn't need to create the fields, you should change the query to modify your imap's servers password fields.


From what you've stated it looks like I am doing this integration of the Password Plugin all wrong.
My IMAP server is Courier - so how does one connect to change the password? Courier doesn't use a DB to store passwords, right?

Hope you can assist.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Password Plugin - MySQL table?
« Reply #3 on: August 20, 2010, 12:38:50 AM »
I don't use Courier so I don't know how it authenticates users.