Security

 View Only
  • 1.  Target Computer OUs rather than UserDN for ClearPass

    Posted Jan 15, 2026 09:59 AM

    We are looking to put certain Computer OUs in a different VLAN. Currently we have it set up to look at UserDN to force users to a role. Is there an easier way than adding attributes to the computers in ClearPass or putting them in a MemberOf group?

    Here are pictures of examples. 



    -------------------------------------------


  • 2.  RE: Target Computer OUs rather than UserDN for ClearPass

    Posted Jan 15, 2026 03:49 PM

    Are you planning on implementing only computer authentication and disabling user auth?  Or do you expect the computer/user combination to always result in the same VLAN for both?

    Put the computer accounts in groups and then write policy to look at group membership.  Another option would be to issue certificates to the devices based on the planned security policy...but then you're probably back to putting computers in groups anyways.



    ------------------------------
    Carson Hulcher, ACEX#110
    ------------------------------



  • 3.  RE: Target Computer OUs rather than UserDN for ClearPass

    Posted Jan 16, 2026 05:33 AM

    As Carson mentioned, use groups instead of OUs. I always use the Group attribute and not memberOf. ClearPass extracts the CN from the memberOf attribute and makes the names available in the Group attribute. Group can be checked with EQUAL and is therefore less vulnerable because group names are always unique. With CONTAIN, there is a risk of misinterpretation, as the OUs in the OU folder structure may have similar names, which can lead to false positives in a CONTAIN test.

    You need to be careful with the primary group (such as domain-users or domain-computers). The primary group is not included in the MemberOf attribute, even though Windows displays it that way. Membership in the primary group is represented in Active Directory by the primaryGroupID attribute.



    ------------------------------
    Regards,

    Waldemar
    ACCX # 1377, ACEP, ACX - Network Security
    If you find my answer useful, consider giving kudos and/or mark as solution
    ------------------------------