Changeset 665 in openpam


Ignore:
Timestamp:
Mar 17, 2013, 12:46:51 PM (8 years ago)
Author:
Dag-Erling Smørgrav
Message:

Add a few more verbose messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/pamtest/pamtest.c

    r648 r665  
    116116
    117117        flags |= silent;
     118        pt_verbose("pam_authenticate()");
    118119        if ((pame = pam_authenticate(pamh, flags)) != PAM_SUCCESS)
    119120                pt_error(pame, "pam_authenticate()");
     
    130131
    131132        flags |= silent;
     133        pt_verbose("pam_acct_mgmt()");
    132134        if ((pame = pam_acct_mgmt(pamh, flags)) != PAM_SUCCESS)
    133135                pt_error(pame, "pam_acct_mgmt()");
     
    144146
    145147        flags |= silent;
     148        pt_verbose("pam_chauthtok()");
    146149        if ((pame = pam_chauthtok(pamh, flags)) != PAM_SUCCESS)
    147150                pt_error(pame, "pam_chauthtok()");
     
    158161
    159162        flags |= silent;
     163        pt_verbose("pam_setcred()");
    160164        if ((pame = pam_setcred(pamh, flags)) != PAM_SUCCESS)
    161165                pt_error(pame, "pam_setcred()");
     
    172176
    173177        flags |= silent;
     178        pt_verbose("pam_open_session()");
    174179        if ((pame = pam_open_session(pamh, flags)) != PAM_SUCCESS)
    175180                pt_error(pame, "pam_open_session()");
     
    186191
    187192        flags |= silent;
     193        pt_verbose("pam_close_session()");
    188194        if ((pame = pam_close_session(pamh, flags)) != PAM_SUCCESS)
    189195                pt_error(pame, "pam_close_session()");
Note: See TracChangeset for help on using the changeset viewer.