Bug 441856 - repquota does not resolve winbind user names
Summary: repquota does not resolve winbind user names
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: quota
Version: 7
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-10 15:31 UTC by Helge Deller
Modified: 2015-09-09 12:59 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-06-17 03:05:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1261484 0 unspecified CLOSED repquota displays UIDs instead of user names @ ldap backend ... 2021-02-22 00:41:40 UTC

Internal Links: 1261484

Description Helge Deller 2008-04-10 15:31:08 UTC
Description of problem:
repquota of the quota package does not resolve user names from UIDs which are 
coming in via winbind.
repquota does correctly resolve local and NIS/YP UIDs without problems.

Version-Release number of selected component (if applicable):
quota-3.14-1.fc7

How reproducible:
always

Steps to Reproduce:
1. have users via winbind
2. start "repquota -as".
  
Actual results:
*** Report for user quotas on device /dev/mapper/VolGroup00-LogVol00
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      --  15636M       0       0           218k     0     0
daemon    --      24       0       0              3     0     0
lp        --      16       0       0              2     0     0
games     --      52       0       0             87     0     0
....here comes NIS users...
d025719   --      24       0       0              2     0     0
d036661   --   68336    300M    320M             86 2148m 2148m
d021485   --    2692    300M    320M             20 2148m 2148m
....and here comes the winbind users....
#100802   --   54468    300M    320M           1190 2148m 2148m
#100572   --    3912       0       0            231     0     0
#100605   --   38772       0       0            687     0     0

Expected results:
Instead of "#100802" numerical UIDs I'd have expected resolved names.
Interestingly, "getent passwd" on this UID resolves the users:
[root@ls3163 tmp]# getent passwd 100802
c5100:*:100802:100003:C5100:/home/LTS/c5100:/bin/bash

Comment 1 Bug Zapper 2008-05-14 15:25:31 UTC
This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists.

Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs:
http://docs.fedoraproject.org/release-notes/

The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Bug Zapper 2008-06-17 03:05:25 UTC
Fedora 7 changed to end-of-life (EOL) status on June 13, 2008. 
Fedora 7 is no longer maintained, which means that it will not 
receive any further security or bug fix updates. As a result we 
are closing this bug. 

If you can reproduce this bug against a currently maintained version 
of Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 3 Alexander Kabakaev 2011-07-20 06:25:14 UTC
For newer releases, please use the '-C' option in order to resolve the winbind UIDs into names:
 repquota -C /home


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