Security

last person joined: yesterday 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Nested groups in MemberOf for active directory not being followed

This thread has been viewed 25 times
  • 1.  Nested groups in MemberOf for active directory not being followed

    Posted Jan 29, 2013 01:57 PM

    I have a group in AD that has a nested group as its members, very usefull when granting application privs. 

     

    I wanted to assign this group read only access to ClearPass, but it seems that CP doesn't follow nested groups?

     

    When I looked at the authorization attributes

     

    Authorization:Brandeis Active Directory:memberOf: only shows the primary memberships not the memberships of the nested groups...

     

    Is there a setting I can change to have it show that?



  • 2.  RE: Nested groups in MemberOf for active directory not being followed

    EMPLOYEE
    Posted Jan 29, 2013 04:20 PM
      |   view attached

    Edit:

     

    Attached is a preliminary document on how to configure CPPM for nested groups..

     

    Attachment(s)

    pdf
    cppm-nested-groups-v2.pdf   1.01 MB 1 version


  • 3.  RE: Nested groups in MemberOf for active directory not being followed

    Posted Feb 25, 2013 12:48 PM

    I am also running into this problem.  Any help would be appreciated.



  • 4.  RE: Nested groups in MemberOf for active directory not being followed

    Posted Feb 25, 2013 01:20 PM

    PM Collin and ask for the same doc he sent me. 

     

    It was pretty easy to get it working but the doc was needed to wrap your head around reading into nested groups



  • 5.  RE: Nested groups in MemberOf for active directory not being followed

    Posted Jul 10, 2013 11:42 PM

    I need the document also... hopefully nested groups will be fully supported in a future release.



  • 6.  RE: Nested groups in MemberOf for active directory not being followed

    EMPLOYEE
    Posted Aug 12, 2013 01:59 PM

    I just use all of the levels and leaf options for each one so you always catch it.

     

    ciscojabber.PNG



  • 7.  RE: Nested groups in MemberOf for active directory not being followed

    Posted Feb 13, 2014 10:55 AM

    Instead of using the OneLevelUp/Leaf method of searching nested groups is there any reason to not use something like:

     

    (distinguishedName=%{memberOf:1.2.840.113556.1.4.1941:})

     

    for the Groups query?  This seems to return all the nested groups in Active Directory.

     

    The resource I used to find this was: http://msdn.microsoft.com/en-us/library/aa746475%28VS.85%29.aspx

     

    Thanks,

     

      Eric

     

    Edit: This doesn't actually work, I had the query wrong and was allowing access to all groups.  It does work if you modify the auth query, but then it's very ackward, i.e.:

     

    (&(sAMAccountName=%{Authentication:Username})(objectClass=user)(memberOf:1.2.840.113556.1.4.1941:=CN=NestedGroup...))

     

    If there's a way of retrieving nested memberOf attributes from Active Directory that would be ideal.



  • 8.  RE: Nested groups in MemberOf for active directory not being followed

    MVP
    Posted Nov 03, 2014 10:11 AM

    Seems nested groups still do not work 'our of the box'.

    Is there any intention to get this config into ClearPass per default?  Is that v2 document still the latest version?



  • 9.  RE: Nested groups in MemberOf for active directory not being followed
    Best Answer

    Posted May 25, 2016 10:56 PM

    I was shared an LDAP OID from support and some basic 'n-1' traversal that can deal with this better than the original pdf shared at the top of this thread.

     

    Is this the new gospel way of dealing with this ?

     

    Untitled.png



  • 10.  RE: Nested groups in MemberOf for active directory not being followed

    EMPLOYEE
    Posted May 25, 2016 10:58 PM

    Are you using generic LDAP or AD?



  • 11.  RE: Nested groups in MemberOf for active directory not being followed

    Posted May 25, 2016 11:00 PM

    Microsoft.

     

    I presume it depends if the implementation supports the OID.  That's the only way this would work ?



  • 12.  RE: Nested groups in MemberOf for active directory not being followed

    EMPLOYEE
    Posted May 25, 2016 11:01 PM

    The screenshot you posted is the correct way to grab nested groups in an AD environment.



  • 13.  RE: Nested groups in MemberOf for active directory not being followed

    Posted Jan 25, 2018 02:58 PM

    Is there any updated way to handle this? I implemented the described string: 

    (member:1.2.840.113556.1.4.1941:=%{UserDN})

     

    My query times were awful and I started to receive LDAP timeout failures due to the extra lookup time. Once cached, a query was fine but if the cache expired, it would take 20-30 seconds to query. Once I removed that attribute everything returned to normal. I did not yet try the original pdf solution yet.

     



  • 14.  RE: Nested groups in MemberOf for active directory not being followed

    EMPLOYEE
    Posted Apr 09, 2020 07:44 AM

    Hi!! 

     

    Can I have an update on this? 

     

    I'm getting TIMEOUT's after LDAP query for Nested AD is added.



  • 15.  RE: Nested groups in MemberOf for active directory not being followed

    Posted May 07, 2020 08:35 AM

    Hi!

     

    I used this configuration on 6.9.0.130064 successfully.
    The only difference I made to the config posted here before is, I called the filter All Groups.
    Because initially it doesn't work (I called the filter "Nested Groups").
    After renaming the filter, I cleared the cache of the AD on clearpass.
    From this point, the nested groups where fetched correctly.

     

    All Groups.JPG