From d787888d8304d0da0e59df78e7e51f75ea28c4b8 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 12 Jul 2006 10:40:36 +0000 Subject: [PATCH] Added samba acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4123 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/samba/class_sambaAccount.inc | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/plugins/personal/samba/class_sambaAccount.inc b/plugins/personal/samba/class_sambaAccount.inc index f33d5e816..56c739e59 100644 --- a/plugins/personal/samba/class_sambaAccount.inc +++ b/plugins/personal/samba/class_sambaAccount.inc @@ -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: -- 2.30.2