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

A Potential NPE in Issue RANGER-980

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • usersync
    • None

    Description

      — a/ugsync/src/main/java/org/apache/ranger/unixusersync/process/PolicyMgrUserGroupBuilder.java
      +++ b/ugsync/src/main/java/org/apache/ranger/unixusersync/process/PolicyMgrUserGroupBuilder.java
      @@ -661,7 +661,7 @@ private void computeUserDelta(Map<String, Map<String, String>> sourceUsers) {
      } else {
      XUserInfo oldUser = userCache.get(userName);
      Map<String, String> oldUserAttrs = oldUser.getOtherAttrsMap();
      String oldUserDN = oldUserAttrs.get(UgsyncCommonConstants.FULL_NAME);
      if (StringUtils.equalsIgnoreCase(userDN, oldUserDN)
      && StringUtils.equalsIgnoreCase(oldUserAttrs.get(UgsyncCommonConstants.SYNC_SOURCE), newUserAttrs.get(UgsyncC
      && StringUtils.equalsIgnoreCase(oldUserAttrs.get(UgsyncCommonConstants.LDAP_URL), newUserAttrs.get(UgsyncComm

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            it boys Shiyou xin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment