1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-20 18:50:17 +03:00

Get machine local Registry policy in Samba backup format

This commit is contained in:
Evgeny Sinelnikov 2020-04-20 04:24:33 +04:00
parent faa0265fd7
commit c70280a964
2 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@ def lp2gpt():
'''
Convert local-policy to full-featured GPT.
'''
lppath = os.path.join(default_policy_path(), 'local.xml')
lppath = os.path.join(default_policy_path(), 'Machine/Registry.pol.xml')
# Load settings from XML PolFile
polparser = GPPolParser()

View File

@ -17,7 +17,7 @@ BuildRequires: rpm-build-python3
Requires: python3-module-rpm
Requires: oddjob-%name >= 0.2.0
Requires: libnss-role >= 0.5.0
Requires: local-policy >= 0.2.0
Requires: local-policy >= 0.3.0
Requires: pam-config >= 1.8
Source0: %name-%version.tar