summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 01a35a8)
raw | patch | inline | side by side (parent: 01a35a8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Jul 2010 08:53:03 +0000 (08:53 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Jul 2010 08:53:03 +0000 (08:53 +0000) |
-Admins will never expire
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18958 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18958 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/functions.inc | patch | blob | history |
index 8a20988b069a7da01f1a5903b477152f9cca4a18..993fc46c389b9fda3dd9648fa89ea9c08a4cfbc5 100644 (file)
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']);