From: hickert Date: Thu, 8 Jul 2010 08:53:03 +0000 (+0000) Subject: Updated expiration detection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=524917e88bc3b1450c1168d39031a53009cad87b;p=gosa.git Updated expiration detection -Admins will never expire git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18958 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 8a20988b0..993fc46c3 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -691,7 +691,7 @@ function ldap_login_user ($username, $password) function ldap_expired_account($config, $userdn, $uid) { // Skip this for the admin account, we do not want to lock him out. -# if($uid == 'admin') return(0); + if($uid == 'admin') return(0); $ldap= $config->get_ldap_link(); $ldap->cd($config->current['BASE']);