Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1434

Enable Group Search First causes issues when "Enable Group Sync" is disabled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0, 0.6.3
    • Fix Version/s: 0.6.4, 1.0.0, 0.7.1
    • Component/s: Ranger, usersync
    • Labels:
      None

      Description

      If "Enable Group Search First" = "Yes" in Ambari, this feature (group sync) runs in Usersync even if "Enable Group Sync" = NO.
      Setting "Enable Group Sync" = "No" hides all values related to group search, including Enable Group Search First.
      This caused me two problems:
      1) Errors in usersync.log due to invalid values in "Group Search Base". Removing this and adding a space for the value got rid of those errors.
      2) No users synced even after fixing the errors because the group search failed to find users, even though group search was disabled via "Enable Group Sync" being set to No.

        Activity

        Hide
        spolavarapu Sailaja Polavarapu added a comment - Reporter

        review request available at:
        https://reviews.apache.org/r/57432/

        Show
        spolavarapu Sailaja Polavarapu added a comment - Reporter review request available at: https://reviews.apache.org/r/57432/
        Hide
        spolavarapu Sailaja Polavarapu added a comment - Reporter

        Patch for ranger-0.6 branch

        Show
        spolavarapu Sailaja Polavarapu added a comment - Reporter Patch for ranger-0.6 branch
        Hide
        spolavarapu Sailaja Polavarapu added a comment - Reporter

        Review request for ranger-0.6 branch:
        https://reviews.apache.org/r/57440/

        Show
        spolavarapu Sailaja Polavarapu added a comment - Reporter Review request for ranger-0.6 branch: https://reviews.apache.org/r/57440/
        Hide
        spolavarapu Sailaja Polavarapu added a comment - Reporter

        Committed to master, ranger-0.7, and ranger-0.6

        Show
        spolavarapu Sailaja Polavarapu added a comment - Reporter Committed to master, ranger-0.7, and ranger-0.6

          People

          • Assignee:
            spolavarapu Sailaja Polavarapu
            Reporter:
            spolavarapu Sailaja Polavarapu
            Request participants:
            None
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: