summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2015-03-06 04:29:24 -0500
committerJakub Hrozek <jhrozek@redhat.com>2015-03-23 12:06:51 +0100
commit50b8a36b0932a510e825ed1ad8103f81ead2b7d8 (patch)
tree7a1850cfcdaa7296c6e1766233e839976d87bf16 /src/providers
parent999c87114479f230c840a5c020e107c45b29fd56 (diff)
downloadsssd-50b8a36b0932a510e825ed1ad8103f81ead2b7d8.tar.gz
sssd-50b8a36b0932a510e825ed1ad8103f81ead2b7d8.tar.xz
sssd-50b8a36b0932a510e825ed1ad8103f81ead2b7d8.zip
TESTS: test expiration
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ldap/sdap_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_access.c b/src/providers/ldap/sdap_access.c
index be2dacf53..9e9cfc9e3 100644
--- a/src/providers/ldap/sdap_access.c
+++ b/src/providers/ldap/sdap_access.c
@@ -528,7 +528,7 @@ static errno_t sdap_account_expired_rhds(struct pam_data *pd,
#define NDS_EXPIRED_MSG "The user account is expired"
#define NDS_TIME_MAP_MSG "The user account is not allowed at this time"
-static bool nds_check_expired(const char *exp_time_str)
+bool nds_check_expired(const char *exp_time_str)
{
char *end;
struct tm tm;