Bug 68950
Summary: | traceback if group from NIS | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Harald Hoyer <harald> |
Component: | redhat-config-users | Assignee: | Brent Fox <bfox> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | pbrown |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-01-21 01:31:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 67218, 79579 |
Description
Harald Hoyer
2002-07-16 12:52:28 UTC
Umm, can you explain why you're trying to add an NIS user to /etc/passwd? cut/paste the NIS /etc/passwd line too please. My /etc/passwd line.. harald:x:2413:2414:Harald Hoyer,Engineering/Systems Engineer,+49-711-96437-157:/home/harald:/bin/bash /etc/shadow: harald:x:11900:0:99999:7::: This was for the IDs, if running without NIS... I have changed redhat-config-users to be able to handle a primary group id missing from the groups file. It still doesnot handle NIS well, but it will no longer traceback. Fixed in the next redhat-config-users package. Testing with redhat-config-users-1.1-16, here's what I did. I added a user to /etc/passwd, setting GID which didn't exist in the /etc/group file. I launched redhat-config-users and was able to browse information about the user account without any problems, but then I attempted to delete the user through the interface and got this traceback: Traceback (most recent call last): File "/usr/share/redhat-config-users/mainWindow.py", line 613, in on_delete_activate self.refresh_users_and_groups(need_refresh) File "/usr/share/redhat-config-users/mainWindow.py", line 398, in refresh_users_and_groups gidNumber = gidNumber[0] IndexError: list index out of range Confirmed that the bug still exists in 8.0 Should be fixed in redhat-config-users-1.1.3-1. Jay, please try with that version. Fix confirmed with redhat-config-users-1.1.3-1. |