NextCloud users cannot join with Authentik LDAP idP (solved)

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:

Solution:
Administration settings → LDAP/AD integration → Expert → Override UUID detection → UUID Attribute for Users: uid

1 Like

Hi @Thunder_trLr welcome to the forum :handshake:

I appreciate your valuable first post! :fireworks:

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.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.