From 07840f52acc7fc88cf504aaaaa7d8b45e2ca5334 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Fri, 11 Jan 2008 13:11:30 +0000 Subject: [PATCH] Remove obsolete comments. --- pam_yubico.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pam_yubico.c b/pam_yubico.c index 377587b..ccc53f7 100644 --- a/pam_yubico.c +++ b/pam_yubico.c @@ -298,14 +298,13 @@ pam_sm_setcred (pam_handle_t * pamh, int flags, int argc, const char **argv) D (("called.")); + /* TODO: ? */ + retval = pam_get_data (pamh, "yubico_setcred_return", (const void **) &auth_retval); if (retval != PAM_SUCCESS) return PAM_CRED_UNAVAIL; - /* XXX save ticket in user's file here - XXX support CRED_EXPIRED */ - switch (auth_retval) { case PAM_SUCCESS: @@ -334,7 +333,7 @@ pam_sm_acct_mgmt (pam_handle_t * pamh, int flags, int argc, const char **argv) D (("called.")); - /* TODO: check if password expired? */ + /* TODO: ? */ retval = PAM_SUCCESS; D (("done. [%s]", pam_strerror (pamh, retval))); @@ -350,7 +349,7 @@ pam_sm_open_session (pam_handle_t * pamh, D (("called.")); - /* TODO: afslog()? */ + /* TODO: ? */ retval = PAM_SUCCESS; D (("done. [%s]", pam_strerror (pamh, retval))); @@ -366,7 +365,7 @@ pam_sm_close_session (pam_handle_t * pamh, D (("called.")); - /* TODO: destroy tickets? destroy AFS tokens? */ + /* TODO: ? */ retval = PAM_SUCCESS; D (("done. [%s]", pam_strerror (pamh, retval))); @@ -381,7 +380,7 @@ pam_sm_chauthtok (pam_handle_t * pamh, int flags, int argc, const char **argv) D (("called.")); - /* TODO: Change password */ + /* TODO: ? */ retval = PAM_SUCCESS; D (("done. [%s]", pam_strerror (pamh, retval)));