Bug 147323
| Summary: | nscd does not honour NIS compat notation | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Evan Champion <evanchampion> |
| Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED WORKSFORME | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | drepper |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-02-10 16:27:39 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: | |||
|
Description
Evan Champion
2005-02-07 10:45:52 UTC
Can't reproduce it here, with +:*::::: at the end I'm seeing: bar:*:2001:2001:NIS user:/dev/null:/sbin/nologin foo:*:2000:2000:NIS user:/dev/null:/sbin/nologin while with files nis in nsswitch.conf and that line missing I'm getting bar:x:2001:2001:Foo:/dev/null:/sbin/nologin foo:x:2000:2000:Foo:/dev/null:/sbin/nologin nscd is running in both cases. Are you sure you have flushed nscd's cache after making the changes in /etc/passwd? nscd -i passwd in this case. I have upgraded to latest development. I used to be able to get it to fail every time, no matter what I did (restart nscd, reboot computer, etc.). Now I got it to fail once (returning NIS password hash instead of *, per the example). I will do some more testing to see if I can identify what circumstances caused that. Well, I have tried for the last 30 mins to make it do it, and I can't -- both iterating over the entire password file (getent passwd) and looking for specific users returns the right thing. I also ran nscd in debug and timed the difference between cached/uncached results, and am fairly sure nscd is doing something. Sorry for wasting your time on something that was already fixed. Please go ahead and close. |