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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • usersync
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: