From: hickert Date: Thu, 18 Nov 2010 11:17:48 +0000 (+0000) Subject: Updated account expiration detection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b0f05f87d52e1c5ee2876ab839e2c3b577cacc4c;p=gosa.git Updated account expiration detection Thanks to 'ch' git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20268 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 8723e01ad..f49f98e5c 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -699,7 +699,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.