Code

Removed old attributes
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 12 Oct 2009 08:49:43 +0000 (08:49 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 12 Oct 2009 08:49:43 +0000 (08:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14577 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/samba/personal/samba/class_sambaAccount.inc

index d6d3f76e4a4406233f395a4ae8851928827a45c8..757def0ebcf42ed7695896aa0cda1f87834462de 100644 (file)
@@ -24,28 +24,13 @@ class sambaAccount extends plugin
   var $plHeadline= "Samba";
   var $plDescription= "This does something";
   var $view_logged = FALSE;
+  var $password_expires= 0;
 
   /* Switch for Samba version */
   var $uidNumber= 65535;
   var $gidNumber= 65535;
 
-  /* Samba 2 attributes */
-  var $pwdLastSet= "0";
-  var $logonTime= "0";
-  var $logoffTime= "2147483647";
-  var $kickoffTime= "2147483647";
-  var $pwdCanChange= "0";
-  var $pwdMustChange= "0";
-  var $password_expires= 0;
-  var $acctFlags= "[UX        ]";
-  var $smbHome= "";
-  var $homeDrive= "";
-  var $scriptPath= "";
-  var $profilePath= "";
-  var $rid= "";
-  var $primaryGroupID= "";
-
-  /* Samba 3 attributes */
+  /* Samba attributes */
   var $SID= "";
   var $ridBase= 0;
   var $sambaSID= "";
@@ -1039,7 +1024,6 @@ class sambaAccount extends plugin
         if ($this->$attrname != $tmp){
           $this->is_modified= TRUE;
         }
-        $this->pwdCanChange= $tmp;
         $this->sambaPwdCanChange= $tmp;
       }
       $tmp= "U";
@@ -1606,7 +1590,6 @@ class sambaAccount extends plugin
     /* Flags */
     if(in_array("allow_pwchange",$this->multi_boxes)){
       $ret['sambaPwdCanChange'] = $this->sambaPwdCanChange;
-      $ret['pwdCanChange']      = $this->pwdCanChange;
     }
   
     if(in_array("password_expires",$this->multi_boxes)){
@@ -1720,7 +1703,6 @@ class sambaAccount extends plugin
 
   
     if(isset($values['sambaPwdCanChange']))  $this->sambaPwdCanChange  = $values['sambaPwdCanChange'];
-    if(isset($values['pwdCanChange']))       $this->pwdCanChange       = $values['pwdCanChange'];