← Back to team overview

touch-packages team mailing list archive

[Bug 1370327] Re: Add API to get UID for users

 

** Description changed:

- The User object in liblightdm doesn't provide a method to get the user
- ID. This means you have to use getpwnam to get this if you want it, even
- though liblightdm already knows the value. It would be nice to have an
- API to get this directly.
+ [Impact]
+ The LightDM user list provided to greeters via liblightdm doesn't have a method to access the user ID. This requires a greeter that might need this information to do a second lookup to get it.
+ 
+ [Test Case]
+ 1. Write a greeter that needs the user ID
+ Expected result:
+ Can do it.
+ Observed result:
+ Can't do it.
+ 
+ [Regression Potential]
+ Low, the information was already in liblightdm, we just now expose it. Tested with regression tests.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1370327

Title:
  Add API to get UID for users

Status in Light Display Manager:
  Fix Released
Status in Light Display Manager 1.10 series:
  Fix Released
Status in “lightdm” package in Ubuntu:
  Fix Released
Status in “lightdm” source package in Trusty:
  New
Status in “lightdm” source package in Utopic:
  Fix Released

Bug description:
  [Impact]
  The LightDM user list provided to greeters via liblightdm doesn't have a method to access the user ID. This requires a greeter that might need this information to do a second lookup to get it.

  [Test Case]
  1. Write a greeter that needs the user ID
  Expected result:
  Can do it.
  Observed result:
  Can't do it.

  [Regression Potential]
  Low, the information was already in liblightdm, we just now expose it. Tested with regression tests.

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1370327/+subscriptions


References