First time login with OpenLDAP not completely working

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 24.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): Nginx 1.18.0
PHP version (eg, 7.4): 7.4.3

The issue you are facing:
When new users log in for the first time to Nextcloud (fresh LDAP account just set up in iRedMail/OpenLDAP), it spins for a while in the Login screen then just comes back to a blank login screen. Log in again and it goes right to the dashboard.

Is this the first time you’ve seen this error? (Y/N):
Been happening for a little bit. Cannot recall any specific changes other than upgrades.

Steps to replicate it:

  1. Create new user in OpenLDAP
  2. Login first time as new user
  3. Login screen has spinning circle and returns empty login screen.
  4. Login one more time as new user and it goes right to the dashboard.