Setting up Authentik LDAP provider to be used in NextCloud LDAP/AD integration, will not work out of the box.
This topic is for people trying to set this up and getting the same problem.
After setting the provider and nextcloud configuration, NextCloud LDAP/AD integration will report a working connection to the ldap server and Login Attributes → Verify Settings will be accepted for a Test Loginname, but NextCloud user login and Admin → users will not work.
Reported log error:
“LDAP Login: Could not get user object for DN cn=
,ou=users,dc=ldap,dc=goauthentik,dc=io. Maybe the LDAP entry has no set display name attribute?”
The problem was found and reported by ‘mapi007’ here:
Maxbe you have reasons to use Authentik LDAP provider but in general using OpenID connect which doesn’t require additional authentik providers sounds more practical.