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

Ranger usersync created error users. Ranger usersync got System Virtual User Group Name instead of real group name when built the unix user list.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: usersync
    • Labels:
    • Flags:
      Patch

      Description

      The ranger.usersync.unix.minGroupId is not set default value. Like ranger.usersync.unix.minUserId, it should be set default value. Following variable equals to 0 when built the unix user list.
      minimumGroupId=Integer.parseInt(config.getMinGroupId());

      Ranger usersync may get System Virtual User Group Name instead of real group name.
      if (numGroupId < minimumGroupId)
      continue;
      String groupName = groupId2groupNameMap.get(gid);

      This result is that the Ranger usersync created error users.

      http://www.archivum.info/debian-bugs-closed@lists.debian.org/2006-03/03888/Bug-333706-marked-as-done-(useradd-lacks-r-option).html

        Attachments

        1. 0001-RANGER-1690-Ranger-usersync-created-error-users.-Ran.patch
          3 kB
          peng.jianhua
        2. RANGER-1690.patch
          0.8 kB
          Ankita Sinha

          Activity

            People

            • Assignee:
              ankita Ankita Sinha
              Reporter:
              peng.jianhua peng.jianhua
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: