summaryrefslogtreecommitdiff
path: root/src/sss_client
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2013-03-08 12:06:10 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-03-08 21:58:03 +0100
commitb40583c6d52b72e41bf01106534535e54b4fba4f (patch)
tree873fa3f119980b21441cb8ec109ecd24e4a768a8 /src/sss_client
parent6a6a821866091e0f722808566c25b951aa346d7c (diff)
downloadsssd-b40583c6d52b72e41bf01106534535e54b4fba4f.tar.gz
sssd-b40583c6d52b72e41bf01106534535e54b4fba4f.tar.bz2
sssd-b40583c6d52b72e41bf01106534535e54b4fba4f.zip
Add support for krb5 1.11's responder callback.
krb5 1.11 adds support for a new method for responding to structured data queries. This method, called the responder, provides an alternative to the prompter interface. This patch adds support for this method. It takes the password and provides it via a responder instead of the prompter. In the case of OTP authentication, it also disables the caching of credentials (since the credentials are one-time only).
Diffstat (limited to 'src/sss_client')
-rw-r--r--src/sss_client/sss_cli.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sss_client/sss_cli.h b/src/sss_client/sss_cli.h
index 372bcee5..b0d7b821 100644
--- a/src/sss_client/sss_cli.h
+++ b/src/sss_client/sss_cli.h
@@ -368,6 +368,9 @@ enum response_type {
* the user.This should only be used in the case where
* it is not possile to use SSS_PAM_USER_INFO.
* @param A zero terminated string. */
+ SSS_OTP, /**< Indicates that the autotok was a OTP, so don't
+ * cache it. There is no message.
+ * @param None. */
};
/**