1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-08 13:49:29 +03:00
Files
samba-mirror/python/samba/gp_centrify_crontab_ext.py
David Mulder fe0aa82b62 gpo: Test Centrify Compatible Crontab Extensions
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-05-10 19:13:29 +00:00

33 lines
1.2 KiB
Python

# gp_centrify_crontab_ext samba gpo policy
# Copyright (C) David Mulder <dmulder@suse.com> 2022
#
# 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/>.
from samba.gpclass import gp_pol_ext
class gp_centrify_crontab_ext(gp_pol_ext):
def process_group_policy(self, deleted_gpo_list, changed_gpo_list, cdir=None):
pass
def rsop(self, gpo, target='MACHINE'):
output = {}
return output
class gp_user_centrify_crontab_ext(gp_centrify_crontab_ext):
def process_group_policy(self, deleted_gpo_list, changed_gpo_list):
pass
def rsop(self, gpo):
return super().rsop(gpo, target='USER')