Code

Added samba acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 12 Jul 2006 10:40:36 +0000 (10:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 12 Jul 2006 10:40:36 +0000 (10:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4123 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/samba/class_sambaAccount.inc

index f33d5e81623407308669cf48ef957d54ffcd4da3..56c739e59a8a25fc91d3e99d42b979be853e1e74 100644 (file)
@@ -1029,10 +1029,32 @@ class sambaAccount extends plugin
       $sambafilter= array( "depselect" => $base, "regex" => "*");
       register_global("sambafilter", $sambafilter);
     }
-
-
   }
 
+  
+  function plInfo()
+  {
+    return (array("plDescription"   => _("Samba settings"),
+          "plSelfModify"    => TRUE,
+          "plDepends"       => array("objectClass" => "gosaAccount"),
+
+          "AllowLoginOnTerminalServer"  => _("Allow login on terminal server"),
+          "InheritClientConfig"         => _("Inherit client config"),
+          "sambaAcctFlags_N"            => _("Login from windows client requires no password"),
+          "sambaAcctFlags_L"            => _("Lock samba account"),
+
+          "sambaLogonTime"        => _("Limit Logon Time") ,
+          "sambaLogoffTime"       => _("Limit Logoff Time") ,
+          "sambaKickoffTime"      => _("Account expires") ,
+          "sambaPwdCanChange"     => _("Allow user to change password") ,
+          "sambaPwdMustChange"    => _("Password expires") ,
+          "sambaHomePath"         => _("Generic home directory") ,
+          "sambaHomeDrive"        => _("Generic samba home drive") ,
+          "sambaLogonScript"      => _("Generic script path") ,
+          "sambaProfilePath"      => _("Generic profile path") ,
+          "sambaDomainName"       => _("Domain") ,
+          "sambaUserWorkstations" => _("Allow connection from") ));
+  }    
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: