Bug 82565 - Commands that access group names fails when NIS group is large
Commands that access group names fails when NIS group is large
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
8.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-23 09:34 EST by Morten Finborud
Modified: 2016-11-24 10:24 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-04-10 19:09:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Morten Finborud 2003-01-23 09:34:06 EST
Description of problem:
Commands accessing group names fails when the group name is a nis group spread 
over several entries (due to the number of members in group). Only the group id 
is returned from commands like groups or ls -la

Example:
ypcat group |grep :1300:
hda:!:1300:a110915,a108743,a100141,u21081,a793918,<lotta more names>
hda2:!:1300:a113014,a794279,a793203,a792412,a455915,<lotta more names>



Version-Release number of selected component (if applicable):
sh-utils 2.0.12


How reproducible: 100%


Steps to Reproduce:
1. groups a100141


Actual results:

id: cannot find name for group ID 1300
id: cannot find name for group ID 3100
id: cannot find name for group ID 1668
id: cannot find name for group ID 102
id: cannot find name for group ID 2020
id: cannot find name for group ID 2800

Same happens when doing a ls -la   (group name does not appear)
-rw-rw----    1 a100141  1300           91 Jan 23 14:54 group.txt   

Expected results (as on a RedHat 7.3 installation):

a100141 : hda nho_tavd petro utfo dip ios ediv hdaunix irap recall lmadmin sd ut
fit charisma    

-rw-rw----    1 a100141  hda           91 Jan 23 14:54 group.txt   

Additional info:

This works perfect on RedHat 7.3
Comment 1 Tim Waugh 2003-01-23 11:32:52 EST
I think this is fixed for future releases.
Comment 2 Jakub Jelinek 2003-04-10 19:09:19 EDT
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2003-089.html

Note You need to log in before you can comment on or make changes to this bug.