From 524917e88bc3b1450c1168d39031a53009cad87b Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 8 Jul 2010 08:53:03 +0000 Subject: [PATCH] Updated expiration detection -Admins will never expire git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18958 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 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']); -- 2.30.2