GOGS Verify group membership


#1

Hi, I am trying ti setup gogs with an LDAP connection (AD), but i am getting a error that i dont fix it self.

I am not sure if i have configure the group membership verification right?

It’s possible that i use the false group atributes or group filter?

Thank you for the help


#2

Hi,

first of all: yes! Now, there are a number of things wrong with your setup; The group filter query syntax seems fine to me, but the group attribute for Active Directory should be “member”, not the cn.

Personally, I (mis)use the User Filter to include a syntax similar to the following:

(memberof=CN=Git_Gogs_Users,OU=bla,DC=company,DC=org)

together with the rest of the filter. Does this help?

Cheers,

PelliX