Nextcloud version (eg, 20.0.5): 25.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): php-8.0-fpm
I have the problem, that one LDAP user can’t login. He is shown in the User list. About 100 users can login correctly. I also try to test with an simpler password and less special Characters
sudo -u www-data php8.0 ./occ ldap:check-user nschmidt
The user is still available on LDAP.
sudo -u www-data php8.0 ./occ user:list|grep nschmidt
- nschmidt: Noah Schmidt
I have LDAP on samba AD. In the log of samba-auth i don’t see an request from Nextcloud for the user nschmidt.
I checked with an Testuser fbar.
Auth: [LDAP,simple bind/TLS] user [(null)][cn=fbar,ou=mitarbeiter,ou=people,dc=xxx,dc=yy] at [Mon, 23 Jan 2023 08:50:11.809678 CET] with [Plaintext] status [NT_STATUS_WRONG_PASSWORD] workstation [(null)] remote host [ipv4:10.1.21.15:38068] mapped to [ZZZ][fbar]. local host [ipv4:10.1.21.11:389]
But i don’t see a request when i try to login with this user. LDAP cache timeout is set to 10 seconds for test.
{“reqId”:“jhvVq9gA292Zvw5fMCHz”,“level”:2,“time”:“2023-01-23T08:37:38+00:00”,“remoteAddr”:“10.1.12.1”,“user”:“–”,“app”:“no app in context”,“method”:“POST”,“url”:“/index.php/login”,“message”:“Login failed: nschmidt (Remote IP: 10.1.12.1)”,“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0”,“version”:“25.0.3.2”,“data”:}
I also try ./occ ldap:reset-user nschmidt
I checked the database an everythink looks fine.
How i can debug the problem, why only one user can’t login? He never logged in before
Thanks in advanced