From 559ed08b071676d50b7b157a742f2a5348450c56 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 18 Nov 2010 11:17:10 +0000 Subject: [PATCH] Updated account expiration detection closes #1108 Thanks to 'cs' git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20267 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 1347ffff1..516ac61bd 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -711,7 +711,7 @@ function ldap_expired_account($config, $userdn, $uid) // An account is locked/expired once its expiration date has reached (shadowExpire). // If the optional attribute (shadowInactive) is set, we've to postpone // the account expiration by the amount of days specified in (shadowInactive). - if($shadowExpire != null && $shadowExpire >= $current){ + if($shadowExpire != null && $shadowExpire <= $current){ // The account seems to be expired, but we've to check 'shadowInactive' additionally. // ShadowInactive specifies an amount of days we've to reprieve the user. -- 2.30.2