1. 14 Jun, 2011 7 commits
    • Ray Strode's avatar
      greeter: Add a login extension mechanism to greeter · 768fe8d5
      Ray Strode authored
      This allows extensions to drive which PAM conversations
      get run and potentially augment the login window UI.
      This commit adds one builtin extension that
      does the traditional unified authentication thing, and
      a plugin for password-only based authentication.
      
      By default we use the builtin extension, but enable
      the plugin with --enable-split-authentication
      
      Subsequent commits will add support for fingerprint and smartcard
      plugins.
      768fe8d5
    • Ray Strode's avatar
      daemon: Distinguish "pam module failed" from "authentication failed" · 0d928919
      Ray Strode authored
      If pam_start() fails, that suggests the configured service
      stack is failing independent of the user account.
      
      This commit exposes that failure as "service unavailable"
      instead of "authentication failed".
      0d928919
    • Ray Strode's avatar
      daemon: Store multiple conversations in the session · a4f5409c
      Ray Strode authored
      We keep multiple conversations in the session now, keyed off of
      which PAM service is at the other end.  Much of the guts still
      only operate on the first conversation added though.
      a4f5409c
    • Ray Strode's avatar
      daemon,greeter: Make greeter/autologin session initiate PAM conversation · c4849403
      Ray Strode authored
      Now the greeter (and also the autologin code) has to say what
      PAM stack it wants the slave to run.  When that stack is ready,
      we emit the Ready signal as before, but now the Ready signal
      carries a string argument saying which service is ready to
      converse.
      
      When we support multiple PAM stacks, the greeter will call
      StartConversation for each stack, and will keep the UI
      associated with each stack disabled until the Ready signals
      come back one-by-one.
      c4849403
    • Ray Strode's avatar
      daemon: Rename session worker to the service it's managing · 8b597446
      Ray Strode authored
      This way when we're running multiple PAM conversations at once
      it will be obvious which worker is managing which conversation.
      8b597446
    • Ray Strode's avatar
      daemon: Make current pam conversation explicit throughout code · 55a9a413
      Ray Strode authored
      We want to eventually support having multiple
      simultaneous PAM conversations in one login
      screen (so, e.g., username/password, smart card, and
      fingerprint all work at the same time).
      
      This commit refactors the session code to be in terms
      of a conversation object.  With this change, it should
      be easier later to have multiple conversation objects.
      
      The conversation is named by the pam service the login
      screen is talking to.
      55a9a413
    • Ray Strode's avatar
      greeter: drop is-interactive stuff · dc94d666
      Ray Strode authored
      It's pretty old code that was designed to prevent
      proceeding until the user had a chance to pick language,
      etc.  I don't think it's really relevant anymore, and it
      adds some complexity to the code I'd rather not have.
      dc94d666
  2. 13 Jun, 2011 3 commits
    • Benjamin Otte's avatar
      simple-greeter: Don't request an invalid size · 9694ea8e
      Benjamin Otte authored
      GTK widgets must at all times report a size they can handle. So it is
      not allowed to return 0 when not realized, because then size allocations
      break when GTK uses this size for its widget.
      In this case, GTK uses the pre-realize size to determine the size it
      should request when creating the greeter window - chicken and egg so to
      say.
      
      This patch just uses the default monitor (I guess the root window's
      monitor is the default monitor?) for determining the login window size.
      
      One thing this patch doesn't do is add a call to gtk_widget_queue_resize()
      from the realize callback or from monitor-changing signals, though
      that's probably technically necessary.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=646498
      9694ea8e
    • Ray Strode's avatar
      configure: use ustar by default · 21f81ff1
      Ray Strode authored
      This gets around filename length limitations.
      21f81ff1
    • Ray Strode's avatar
      configure: bump version to 3.1.2 · f47c41cd
      Ray Strode authored
      f47c41cd
  3. 11 Jun, 2011 1 commit
  4. 07 Jun, 2011 2 commits
  5. 06 Jun, 2011 1 commit
  6. 04 Jun, 2011 1 commit
  7. 01 Jun, 2011 2 commits
  8. 31 May, 2011 3 commits
  9. 29 May, 2011 1 commit
  10. 25 May, 2011 4 commits
  11. 24 May, 2011 1 commit
  12. 23 May, 2011 4 commits
  13. 20 May, 2011 3 commits
  14. 19 May, 2011 6 commits
  15. 18 May, 2011 1 commit