Code

Added uniq serial check to all My-Account plugins
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 Dec 2007 12:21:15 +0000 (12:21 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 Dec 2007 12:21:15 +0000 (12:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8013 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/connectivity/main.inc
plugins/personal/environment/main.inc
plugins/personal/generic/main.inc
plugins/personal/mail/main.inc
plugins/personal/nagios/main.inc
plugins/personal/netatalk/main.inc
plugins/personal/posix/main.inc
plugins/personal/samba/main.inc
plugins/personal/scalix/main.inc

index a418ef40f27bd9f56ad0908859860c85a1672f69..14472f247da4e5d32876b0799a7f7f4043aebd5a 100644 (file)
@@ -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");
 
index ab6cc2e826d12605bc78ff624d5dccd78ca72f83..6b5d9366cfee3a0d812cb3720df0e9a7f1d03677 100644 (file)
@@ -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);
   }
index 6f2e3562b6fe4279fff3dfa98a692cfa6b5ca3f2..e35ee1eed79daef80919a774d893e330e3da5e77 100644 (file)
@@ -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");
   }
index a381598e9ebca0d5a016624393dfe43b286291db..dda8cd7706bdf8925f10b409aeb3b6d2a8a32fcc 100644 (file)
@@ -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");
   }
index 6ad13a128d57ce1e07ac62e72718d360bcb448ae..c6a61b3b98a320752ffb7a648ac1579c74efd060 100644 (file)
@@ -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");
   }
index badd665232b42421485cc8e65f017a5fc65ec781..e1a62c9653389f9fc3f806f39214a0e41ad2a8b2 100644 (file)
@@ -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");
   }
index fffb199d9382fc3b626db5d856889588771b0b85..31994ef3f13f9a615fd1258d461b210f808709ac 100644 (file)
@@ -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");
   }
index 8719e50e404e054fb420cf672831597f8f7c42bf..0c198dc3e54667e316c11ea791ffe2e0823a0722 100644 (file)
@@ -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");
   }
index a16a3c2d5f346031c6c5582f49b0306fa3edccd3..0d2558a8a67d91c6ed4cd6de65387137956df2bf 100644 (file)
@@ -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");
   }