1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-11 08:23:49 +03:00

gpo: Test Group Policy VGP Startup Script Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
David Mulder
2021-01-29 13:34:50 -07:00
committed by Jeremy Allison
parent e49a0b444a
commit b13b2d8c3e
3 changed files with 150 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# vgp_startup_scripts_ext samba gpo policy
# Copyright (C) David Mulder <dmulder@suse.com> 2021
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
from samba.gpclass import gp_xml_ext
class vgp_startup_scripts_ext(gp_xml_ext):
def process_group_policy(self, deleted_gpo_list, changed_gpo_list,
cdir='/etc/cron.d'):
pass
def rsop(self, gpo):
output = {}
return output