From: hickert Date: Wed, 5 Dec 2007 12:21:15 +0000 (+0000) Subject: Added uniq serial check to all My-Account plugins X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7c073185636e07198764a9713ba50b6f06caff76;p=gosa.git Added uniq serial check to all My-Account plugins git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8013 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/connectivity/main.inc b/plugins/personal/connectivity/main.inc index a418ef40f..14472f247 100644 --- a/plugins/personal/connectivity/main.inc +++ b/plugins/personal/connectivity/main.inc @@ -32,6 +32,7 @@ if (!$remove_lock){ if (!isset($_SESSION['connectivity']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){ $_SESSION['connectivity']= new connectivity ($config, $ui->dn); + $_SESSION['connectivity']->enable_CSN_check(); $_SESSION['connectivity']->set_acl_base($ui->dn); $_SESSION['connectivity']->set_acl_category("users"); diff --git a/plugins/personal/environment/main.inc b/plugins/personal/environment/main.inc index ab6cc2e82..6b5d9366c 100644 --- a/plugins/personal/environment/main.inc +++ b/plugins/personal/environment/main.inc @@ -30,6 +30,7 @@ if (!$remove_lock){ /* Create mail object on demand */ if (!isset($_SESSION['environment']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){ $_SESSION['environment']= new environment ($config, $ui->dn); + $_SESSION['environment']->enable_CSN_check(); $_SESSION['environment']->set_acl_category('users'); $_SESSION['environment']->set_acl_base($ui->dn); } diff --git a/plugins/personal/generic/main.inc b/plugins/personal/generic/main.inc index 6f2e3562b..e35ee1eed 100644 --- a/plugins/personal/generic/main.inc +++ b/plugins/personal/generic/main.inc @@ -34,6 +34,7 @@ if (!$remove_lock){ /* Create user object on demand */ if (!isset($_SESSION['user']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){ $_SESSION['user']= new user ($config, $ui->dn); + $_SESSION['user']->enable_CSN_check(); $_SESSION['user']->set_acl_base($ui->dn); $_SESSION['user']->set_acl_category("users"); } diff --git a/plugins/personal/mail/main.inc b/plugins/personal/mail/main.inc index a381598e9..dda8cd770 100644 --- a/plugins/personal/mail/main.inc +++ b/plugins/personal/mail/main.inc @@ -32,6 +32,7 @@ if (!$remove_lock){ /* Create mail object on demand */ if (!isset($_SESSION['mailAccount']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){ $_SESSION['mailAccount']= new mailAccount ($config, $ui->dn); + $_SESSION['mailAccount']->enable_CSN_check(); $_SESSION['mailAccount']->set_acl_base($ui->dn); $_SESSION['mailAccount']->set_acl_category("users"); } diff --git a/plugins/personal/nagios/main.inc b/plugins/personal/nagios/main.inc index 6ad13a128..c6a61b3b9 100644 --- a/plugins/personal/nagios/main.inc +++ b/plugins/personal/nagios/main.inc @@ -33,6 +33,7 @@ if (!$remove_lock){ /* Create mail object on demand */ if (!isset($_SESSION['nagiosAccount']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){ $_SESSION['nagiosAccount']= new nagiosAccount ($config, $ui->dn); + $_SESSION['nagiosAccount']->enable_CSN_check(); $_SESSION['nagiosAccount']->set_acl_base($ui->dn); $_SESSION['nagiosAccount']->set_acl_category("users"); } diff --git a/plugins/personal/netatalk/main.inc b/plugins/personal/netatalk/main.inc index badd66523..e1a62c965 100644 --- a/plugins/personal/netatalk/main.inc +++ b/plugins/personal/netatalk/main.inc @@ -30,6 +30,7 @@ if (!$remove_lock) { /* Create netatalk object on demand */ if (!isset ($_SESSION['netatalk']) || (isset ($_GET['reset']) && $_GET['reset'] == 1)) { $_SESSION['netatalk'] = new netatalk($config, $ui->dn); + $_SESSION['netatalk']->enable_CSN_check(); $_SESSION['netatalk']->set_acl_base($ui->dn); $_SESSION['netatalk']->set_acl_category("users"); } diff --git a/plugins/personal/posix/main.inc b/plugins/personal/posix/main.inc index fffb199d9..31994ef3f 100644 --- a/plugins/personal/posix/main.inc +++ b/plugins/personal/posix/main.inc @@ -33,6 +33,7 @@ if (!$remove_lock){ /* Create posixAccount object on demand */ if (!isset($_SESSION['posixAccount']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){ $_SESSION['posixAccount']= new posixAccount ($config, $ui->dn); + $_SESSION['posixAccount']->enable_CSN_check(); $_SESSION['posixAccount']->set_acl_base($ui->dn); $_SESSION['posixAccount']->set_acl_category("users"); } diff --git a/plugins/personal/samba/main.inc b/plugins/personal/samba/main.inc index 8719e50e4..0c198dc3e 100644 --- a/plugins/personal/samba/main.inc +++ b/plugins/personal/samba/main.inc @@ -33,6 +33,7 @@ if (!$remove_lock){ /* Create sambaAccount object on demand */ if (!isset($_SESSION['sambaAccount']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){ $_SESSION['sambaAccount']= new sambaAccount ($config, $ui->dn); + $_SESSION['sambaAccount']->enable_CSN_check(); $_SESSION['sambaAccount']->set_acl_base($ui->dn); $_SESSION['sambaAccount']->set_acl_category("users"); } diff --git a/plugins/personal/scalix/main.inc b/plugins/personal/scalix/main.inc index a16a3c2d5..0d2558a8a 100644 --- a/plugins/personal/scalix/main.inc +++ b/plugins/personal/scalix/main.inc @@ -31,6 +31,7 @@ if (!$remove_lock){ /* Create mail object on demand */ if (!isset($_SESSION['scalixAccount']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){ $_SESSION['scalixAccount']= new scalixAccount ($config, $ui->dn); + $_SESSION['scalixAccount']->enable_CSN_check(); $_SESSION['scalixAccount']->set_acl_base($ui->dn); $_SESSION['scalixAccount']->set_acl_category("users"); }