graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Support for AD nested groups

Open andham opened this issue 11 years ago • 28 comments

It would be great if Graylog could support so-called nested groups in AD. The easiest way to do this would be to have the group member attribute configurable. You can then use a special object ID as described in https://msdn.microsoft.com/en-us/library/windows/desktop/aa746475(v=vs.85).aspx.

Some information on how this is handled in some other tool (Nexus): https://support.sonatype.com/entries/31005457-How-to-Configure-Nexus-to-use-Active-Directory-Nested-Groups

andham avatar Sep 21 '15 09:09 andham

Also looking for this. With the current implementation src/main/java/org/graylog2/security/ldap/LdapConnector.java needs to do a query for each group to see if those are a member of some other group (member:1.2.840.113556.1.4.1941:=CN=)

alpar-t avatar Sep 28 '15 15:09 alpar-t

"member:1.2.840.113556.1.4.1941:=CN=" is good for authentication but it would be great if group mapping support nested groups

matthgyver avatar Feb 09 '16 13:02 matthgyver

:+1: For us it's a show stopper, we rely on nested groups from Active Directory because if a new one joins the company, it's easy to add him to a few groups and there are the direct permission groups for all the applications. Would be awesome if it's possible to add this to Graylog 2.0 :)

nixcorn avatar Mar 30 '16 07:03 nixcorn

Yup, this is a big issue for our setup too. We separate our group into access groups which have one-to-one relationships with specific permissions and services and role groups, which contain users and are members of different access groups.

In fact I'm surprised this issue hasn't gotten more attention! It's been open for a year.

arnefm avatar Sep 14 '16 20:09 arnefm

Ditto. We've just started getting complaints of people not having the correct access and ended up tracking it back to a nested groups issue

jhaar avatar Nov 28 '16 03:11 jhaar

We are also in dire need for this functionality.

simonpie avatar May 01 '17 19:05 simonpie

+1 for this feature since we have to use our organizational groups instead of the permission groups defined in Active Directory, so we have change the permissions twice if anything is to be changed.

CoolDuke avatar May 17 '17 09:05 CoolDuke

Hi, is there any news about this feature ?

Dainii avatar Nov 08 '17 10:11 Dainii

We would really need this. Hope it is comming soon :)

Wicht78 avatar Dec 15 '17 11:12 Wicht78

@jalogisch is it possible to "donate" this feature? Via BountySource or similar?

shakalandy avatar Mar 05 '18 14:03 shakalandy

@shakalandy Please contact our sales team at https://graylog.org/contact-sales or via [email protected] for finding out how this aligns with our general business strategy.

joschi avatar Mar 13 '18 12:03 joschi

Any news on this feature? I assume it's not being considered for the v3 release?

samoz83 avatar Jun 28 '18 19:06 samoz83

I'm also very interested on this. It would be a very useful feature.

ivazqueza avatar Sep 10 '18 13:09 ivazqueza

+1

lukaszpatyra avatar Sep 24 '18 19:09 lukaszpatyra

+1

matthiasdoering avatar Oct 19 '18 13:10 matthiasdoering

+1

nhanct avatar Nov 06 '18 11:11 nhanct

Not sure if this helps but the query needed here is (member:1.2.840.113556.1.4.1941:={distinguishedname})

Where {distinguishedname} is the dn of the user being looked up.

It looks like https://github.com/Graylog2/graylog2-server/blob/20ab7325eb82ec09c08ece0433e183412f32a05d/graylog2-server/src/main/java/org/graylog2/security/ldap/LdapConnector.java#L200 is a good place to start. I'm not 100% sure how to get the stack working currently to test this fix though

exussum12 avatar Nov 19 '18 14:11 exussum12

This has been open for three years.. are you planning to implement this at all? I'd love to see this feature as well.

OmniTroid avatar Jan 03 '19 09:01 OmniTroid

Is this related to the fact that I cannot map any groups from this cn=groups,dc=subdomain,dc=domain,dc=tld ? (nothing show up in LDAP group mapping)

pirona avatar Apr 01 '19 09:04 pirona

@pirona likely not - or did you have groups in groups in that?

jalogisch avatar Apr 01 '19 09:04 jalogisch