Ldap role mapping, user receiving the same role?!

Hello!

We have set up a fresh instance and now want to put the LDAP plugin into operation. So far it works, but the role mapping does not work as desired. Every user who logs in is assigned the role of moderator. What are we doing wrong?

Config:

Best Regards
Alisha Marie Rau

Hello,

Don’t you have to set « member= », or something alike, before the DN ?

You mean for « Moderator group DN » (for example)?
like this?
member=ou=Administrators,ou=Users,ou=_NFSGlobal,ou=NFS6,dc=domain,dc=lokal

Ive tried it like this and with « memberOf= » but the user cant login if its set. (logs stating the user got no allowed ldap group)

I looked at the code and the « Group filter » field has " (member={{dn}}) as default.

Do you try this value instead of « objectClass=* » ? (And keep all your DN as the image you shared)

Yes but my users cant login with it. Error message always « user credentials are invalid » and on login screen « user credentials invalid » (they are not invalid)

Sorry, I can not help you so far. Maybe look at this closed Peetube issues

unfortunately ive tried and read all contributions ive found without any success but thank you for your help!

Can you detail how is organized your LDAP for groups?

For example: GitHub - rroemhild/docker-test-openldap: Docker OpenLDAP Server for testing LDAP applications