1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 10:50:35 +03:00

Clean unused code and replaced policies

This commit is contained in:
Evgeny Sinelnikov 2019-11-28 19:44:31 +04:00
parent 7a0f0fdcd0
commit def7b1ae79
4 changed files with 0 additions and 39 deletions

View File

@ -1,2 +1 @@
from .local_policy_backend import local_policy_backend
from .samba_backend import samba_backend

View File

@ -1,13 +0,0 @@
from .applier_backend import applier_backend
import util
class local_policy_backend(applier_backend):
__default_policy_path = '/usr/lib/python3/site-packages/gpoa/local-policy/default.xml'
def __init__(self, username):
self.username = username
def get_values(self):
policies = [util.load_xml_preg(self.__default_policy_path)]
return policies

View File

@ -1 +0,0 @@
workstation.xml

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PolFile num_entries="4" signature="PReg" version="1">
<Entry type="4" type_name="REG_DWORD">
<Key>Software\BaseALT\Policies\Control</Key>
<ValueName>sshd-gssapi-auth</ValueName>
<Value>1</Value>
</Entry>
<Entry type="4" type_name="REG_DWORD">
<Key>Software\BaseALT\Policies\SystemdUnits</Key>
<ValueName>oddjobd.service</ValueName>
<Value>1</Value>
</Entry>
<Entry type="4" type_name="REG_DWORD">
<Key>Software\Policies\Microsoft\Windows\System</Key>
<ValueName>UserPolicyMode</ValueName>
<Value>1</Value>
</Entry>
<Entry type="4" type_name="REG_DWORD">
<Key>Software\Policies\Microsoft\Windows\RemovableStorageDevices</Key>
<ValueName>Deny_All</ValueName>
<Value>0</Value>
</Entry>
</PolFile>