[Bug 873784] Re: reload_passwd uses fgetpwent rather than getpwent, ignoring /etc/nsswitch.conf
Vibhav Pant
vibhavp at gmail.com
Sun May 20 15:37:29 UTC 2012
** Changed in: accountsservice (Ubuntu)
Assignee: Vibhav Pant (vibhavp) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/873784
Title:
reload_passwd uses fgetpwent rather than getpwent, ignoring
/etc/nsswitch.conf
Status in D-Bus interfaces for querying and manipulating user account information:
Fix Released
Status in “accountsservice” package in Ubuntu:
Confirmed
Bug description:
In daemon.c, reload_passwd opens /etc/passwd and reads it with
fgetpwent. This only finds local accounts whereas using getpwent
would respect the settings in /etc/nsswitch.conf and also find
accounts provided via ldap, nis, etc. This means that login screens
(eg, lightdm) don't display the full list of users, only those in
/etc/passwd. All users are able to login, so this is an annoyance
rather than a serious problem.
accountsservice 0.6.14-1git1 in oneiric (haven't checked other
versions).
To manage notifications about this bug go to:
https://bugs.launchpad.net/accountsservice/+bug/873784/+subscriptions
More information about the Ubuntu-sponsors
mailing list