~ubuntu-branches/ubuntu/raring/gnome-screensaver/raring-proposed

« back to all changes in this revision

Viewing changes to src/gs-auth-pam.c

  • Committer: Package Import Robot
  • Author(s): Sergey Urushkin
  • Date: 2012-11-29 13:19:54 UTC
  • Revision ID: package-import@ubuntu.com-20121129131954-9f0dqzpebzeiuzbo
Tags: 3.6.1-0ubuntu2
* debian/patches/28_handle_expired_creds.patch:
  - Allow handling of expired credentials. Thanks Brian C. Huffman for patch.
    (LP: #952771)

Show diffs side-by-side

added added

removed removed

Lines of Context:
533
533
        case PAM_SUCCESS:
534
534
                break;
535
535
        case PAM_NEW_AUTHTOK_REQD:
 
536
                status2 = pam_chauthtok (pam_handle, PAM_CHANGE_EXPIRED_AUTHTOK);
 
537
 
 
538
                if (status2 != PAM_SUCCESS) {
 
539
                    g_message ("pam_acct_mgmt (...) ==> %d (%s)\n",
 
540
                           status2,
 
541
                           PAM_STRERROR (pam_handle, status2));
 
542
                    status = status2;
 
543
                }
536
544
                break;
537
545
        case PAM_AUTHINFO_UNAVAIL:
538
546
                break;