#735 closed defect (fixed)
stage and su users works only with /etc/passwd
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | nALFS - Back End (XML Handlers) | Version: | 1.2.0 |
Severity: | normal | Keywords: | VERIFIED |
Cc: |
Description
I have a problem with some packages (courier-imap for example). These packages need some users other than root, and all my users, except root, are in LDAP. So, the stage just fails. I've made a quick and dirty hack (see patch in bug #734) to use getpwent instead of fgetpwent, so nALFS can work with nss on Linux with glibc. It's just a hack and I know it is not good, but works for me for now.
Change History (3)
comment:1 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 21 years ago
Works perfectly here ! Thanks :) I noticed install-strip works too. Happy new year to all
comment:3 by , 21 years ago
Keywords: | VERIFIED added |
---|
Note:
See TracTickets
for help on using tickets.
Analysis is correct; both stage and su handler have this problem. CVS version now uses getpwent() exclusively and does not even try to open /etc/passwd directly. This should work no matter how the user has their system configured to provide pw entries. Please test and report whether it works for you. Thanks!