Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBAC: Do not rely on originalMemberOf, use the sysdb memberof links instead (sssd-1-13 backprot) #309

Closed
wants to merge 1 commit into from

Commits on Jun 14, 2017

  1. HBAC: Do not rely on originalMemberOf, use the sysdb memberof links i…

    …nstead
    
    The IPA HBAC code used to read the group members from the
    originalMemberOf attribute value for performance reasons. However,
    especially on IPA clients trusting an AD domain, the originalMemberOf
    attribute value is often not synchronized correctly.
    
    Instead of going through the work of maintaining both member/memberOf
    and originalMemberOf, let's just do an ASQ search for the group names of
    the groups the user is a member of in the cache and read their
    SYSBD_NAME attribute.
    
    To avoid clashing between similarly-named groups in IPA and in AD, we
    look at the container of the group.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3382
    
    (cherry picked from commit c92e491)
    jhrozek committed Jun 14, 2017
    Configuration menu
    Copy the full SHA
    1c20ae2 View commit details
    Browse the repository at this point in the history