1. 20 Mar, 2019 1 commit
  2. 06 Sep, 2018 1 commit
  3. 10 Aug, 2018 1 commit
    • Ray Strode's avatar
      lib: don't fail loading if logind isn't working right · 74fed8d9
      Ray Strode authored
      At the moment if logind can fail in two ways when
      asking the session associated with the current pid:
      
      1) ENOENT, the process isn't part of a registered session
      2) ENODATA, the mechanism for checking which session a
      process is registered with isn't working.
      
      If we hit the second case then wefail loading the user manager
      entirely.  This leads to the dbus proxy associated with a user
      from loading and the user getting stuck with defaults like a
      NULL xsession and systemaccount=TRUE
      
      This commit changes the behavior for the second case to be
      like the first. Namely, to accept there's no associated
      session and carry on as best we can.
      74fed8d9
  4. 19 Jul, 2018 1 commit
  5. 13 Jun, 2018 1 commit
  6. 20 Apr, 2018 1 commit
  7. 14 Feb, 2018 1 commit
    • Ray Strode's avatar
      lib: don't try to update login frequency manually · a045e06a
      Ray Strode authored
      The library will try to update the login frequency to 1 if the
      requested user isn't finished asynchronously loading yet, but we
      know they have an open session.
      
      That no longer works, since we no longer track login-frequency
      separately from the dbus proxy object.
      
      This commit drops the code, since it's unnecessary anyway.
      
      To be "on the safe side" we change the value returned for unloaded
      users from 0 to 1.  This is okay because the value is undefined
      before the user is loaded anyway.
      a045e06a
  8. 21 Dec, 2017 1 commit
  9. 19 Dec, 2017 1 commit
  10. 15 Dec, 2017 1 commit
  11. 27 Oct, 2017 9 commits
  12. 18 Jan, 2016 1 commit
  13. 11 Jan, 2016 1 commit
  14. 12 Mar, 2015 1 commit
  15. 22 Jan, 2015 1 commit
  16. 30 Sep, 2014 1 commit
  17. 19 Sep, 2014 1 commit
    • Ray Strode's avatar
      lib: make sure replace key when replacing value in object_path hash · 5c222582
      Ray Strode authored
      If add_user gets called on user object that's already being tracked
      by object path, we can end up replacing and freeing the user object
      but leaving the old object path memory in the hash table.
      
      This commit makes sure we replace the key when replacing the object.
      5c222582
  18. 17 Sep, 2014 1 commit
  19. 16 Sep, 2014 1 commit
  20. 08 Sep, 2014 3 commits
  21. 21 Jul, 2014 2 commits
  22. 08 Aug, 2013 1 commit
  23. 01 Jul, 2013 1 commit
    • Lionel Landwerlin's avatar
      ActUserManager: handle nonexistent users · 254e959f
      Lionel Landwerlin authored
      Right now if a nonexistent user is requested from the accounts service,
      we don't give the caller any sort of notication that the user doesn't
      exist. This cascades into d-bus timeouts and ultimately a broken login
      screen.
      
      This commit adds a new "nonexistent" user property to the user object
      and sets it to TRUE when a requested user fails to load.  It also
      makes sure the user objects is-loaded property gets set.
      
      Based on a patch by Lionel Landwerlin <llandwerlin@gmail.com>
      
      https://bugs.freedesktop.org/show_bug.cgi?id=66325
      254e959f
  24. 30 Jun, 2013 1 commit
  25. 13 Jun, 2013 1 commit
  26. 11 Jun, 2013 1 commit
  27. 06 Jun, 2013 3 commits