← Back to team overview

desktop-packages team mailing list archive

[Bug 873784] Re: reload_passwd uses fgetpwent rather than getpwent, ignoring /etc/nsswitch.conf

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: accountsservice (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/873784

Title:
  reload_passwd uses fgetpwent rather than getpwent, ignoring
  /etc/nsswitch.conf

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/ubuntu/+source/accountsservice/+bug/873784/+subscriptions