Hi,
Suddenly with only one user I have authentication problem. I have already changed the password several times, disabled the user and re-enabled. Does not work. Authentication continues to fail
Aug 30 10:20:28 serverdp dovecot: imap-login: Disconnected: Inactivity during authentication (auth failed, 3 attempts in 180 secs): user=pippo.pluto@test.local, method=PLAIN, rip=192.168.2.253, lip=192.168.2.220, TLS, session=
doveadm auth test pippo.pluto@test.local
Password:
passdb: pippo.pluto@test.local auth failed
extra fields:
user=pippo.pluto@test.local
temp
doveadm auth test pippo.pluto
Password:
passdb: pippo.pluto auth failed
extra fields:
user=pippo.pluto
temp
Webmail does not authenticate, but if I use pippo.pluto*root I access the mailbox.
Until yesterday morning
Aug 29 07:47:04
everything worked,
give her
Aug 29 07:53:30
has stopped working
I suggest to use only pippo.pluto instead of pippo.pluto@test.local as username. NethServer supports multiple domain for the same userbase but don’t exacly manage multi-domain/multi-users environment.
So me@domain1 is the same user for me@domain2. Therefore => use only me.
If you change the password in Cockpit, it should work eg also for Roundcube (Webmail)…
If mail then works in Roundcube, it should also work on the client. If not, it narrows down the search…
Another option would be a “Config restore” back to when that user was still working. That won’t erase any mail, but reset the configuration back to when it was working…
Probably, I’m not sure.
But that would not prevent you from saving the contents of /var/lib/nethserver/users/XXX (or whatever) in another place and replacing the mail relevant part of the content after recreating the user! (Make sure the folder is deleted before recreating!)
You would need to use a manual chown / chmod -r to make sure the permissions are correct on the files you replace.
But - as said - make a full backup before deleting!
IMVHO not quite. I’d take my time to scrub messages log to identify what the heck is going on about the password and the LDAP account.
Does the password contain any special character? If possible, would you share which one?
Sure, la password is Tr3Du2-2021.
I also changed it with others but it doesn’t work.
At the log level, I have checked /var/log/message and /var/log/imap but I don’t notice anything in particular. Do I need to check anything else?