diff options
author | Ralf Haferkamp <rhafer@suse.de> | 2010-03-12 10:54:40 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-22 08:47:12 -0400 |
commit | dfc511c1226786cebbda35990bb7149dea5577b5 (patch) | |
tree | 78697c85743a0b30a222b523192ed8754f713b3d /src/providers/ldap/sdap.h | |
parent | 369975ab6d7c45916e0e2739eb5449879c32b6f8 (diff) | |
download | sssd-dfc511c1226786cebbda35990bb7149dea5577b5.tar.gz sssd-dfc511c1226786cebbda35990bb7149dea5577b5.tar.bz2 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/providers/ldap/sdap.h')
-rw-r--r-- | src/providers/ldap/sdap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h index 007185fc..f0e345ec 100644 --- a/src/providers/ldap/sdap.h +++ b/src/providers/ldap/sdap.h @@ -85,6 +85,11 @@ struct sdap_service { char *uri; }; +struct sdap_ppolicy_data { + int grace; + int expire; +}; + #define SYSDB_SHADOWPW_LASTCHANGE "shadowLastChange" #define SYSDB_SHADOWPW_MIN "shadowMin" #define SYSDB_SHADOWPW_MAX "shadowMax" |