stdevPavelmc / mailad

Software to provision a mail server with users from a Windows or Samba 4 Active Directory
GNU General Public License v3.0
33 stars 11 forks source link

[BUG] User login fails randomly after a password reset #191

Open stdevPavelmc opened 2 hours ago

stdevPavelmc commented 2 hours ago

Describe the bug When an user has a open session [or not?] and the user changes/reset the password it will fail the next logins attempts, ramdomly

To Reproduce Steps to reproduce the behavior:

  1. Setup your account on two MUAs [a thunderbird & a webmail, or a mobile and desktops apps]
  2. And then use just one of them to login,...
  3. Change the password
  4. Try to logging from the other MUA
  5. It will works some times and some times fails once, some times fails for a few attempts; like randomly

Expected behavior All sessions invalidates and working every time on the new creds.

But after taking a deep dive, a more realistic behavior will be:

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

stdevPavelmc commented 2 hours ago

Ongoing testing request, please try to reproduce and comment on this issue or on this thread on the Dev Group: https://t.me/MailAD_dev/12414

The usual suspect is the dovecot auth component config

stdevPavelmc commented 2 hours ago

Some insight on the issuel: https://doc.dovecot.org/2.3/configuration_manual/authentication/caching/