From: hickert Date: Thu, 18 Nov 2010 11:17:10 +0000 (+0000) Subject: Updated account expiration detection closes #1108 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=559ed08b071676d50b7b157a742f2a5348450c56;p=gosa.git 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 --- 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.