summaryrefslogtreecommitdiffstats
path: root/src/sss_client/sss_cli.h
diff options
context:
space:
mode:
authorRalf Haferkamp <rhafer@suse.de>2010-03-12 10:54:40 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-03-22 08:47:12 -0400
commitdfc511c1226786cebbda35990bb7149dea5577b5 (patch)
tree78697c85743a0b30a222b523192ed8754f713b3d /src/sss_client/sss_cli.h
parent369975ab6d7c45916e0e2739eb5449879c32b6f8 (diff)
downloadsssd-dfc511c1226786cebbda35990bb7149dea5577b5.tar.gz
sssd-dfc511c1226786cebbda35990bb7149dea5577b5.tar.xz
sssd-dfc511c1226786cebbda35990bb7149dea5577b5.zip
Improvements for LDAP Password Policy support
Display warnings about remaining grace logins and password expiration to the user, when LDAP Password Policies are used. Improved detection if LDAP Password policies are supported by LDAP Server.
Diffstat (limited to 'src/sss_client/sss_cli.h')
-rw-r--r--src/sss_client/sss_cli.h23
1 files changed, 16 insertions, 7 deletions
diff --git a/src/sss_client/sss_cli.h b/src/sss_client/sss_cli.h
index 2edd158db..f38726579 100644
--- a/src/sss_client/sss_cli.h
+++ b/src/sss_client/sss_cli.h
@@ -377,13 +377,22 @@ enum user_info_type {
* possible to change the password while
* the system is offline. This message
* is generated by the PAM responder. */
- SSS_PAM_USER_INFO_CHPASS_ERROR /**< Tell the user that a password change
- * failed and optionally give a reason.
- * @param Size of the message as unsigned
- * 32-bit integer value. A value of 0
- * indicates that no message is following.
- * @param String with the specified
- * length. */
+ SSS_PAM_USER_INFO_CHPASS_ERROR, /**< Tell the user that a password change
+ * failed and optionally give a reason.
+ * @param Size of the message as unsigned
+ * 32-bit integer value. A value of 0
+ * indicates that no message is following.
+ * @param String with the specified
+ * length. */
+ SSS_PAM_USER_INFO_GRACE_LOGIN, /**< Warn the user that the password is
+ * expired and inform about the remaining
+ * number of grace logins.
+ * @param The number of remaining grace
+ * logins as uint32_t */
+ SSS_PAM_USER_INFO_EXPIRE_WARN /**< Warn the user that the password will
+ * expire soon.
+ * @param Number of seconds before the user's
+ * password will expire. */
};
/**
* @}