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

Fixed loopback policy processing

This commit is contained in:
Valery Sinelnikov 2023-09-06 11:30:43 +04:00
parent 264cedd342
commit 583b47ae7c

View File

@ -143,6 +143,7 @@ class samba_backend(applier_backend):
if policy_mode > 0:
for gptobj in machine_gpts:
try:
gptobj.sid = self.sid
gptobj.merge_user()
except Exception as exc:
logdata = dict()
@ -191,9 +192,9 @@ def upm2str(upm_num):
result = 'Not configured'
if upm_num in [1, '1']:
result = 'Replace'
if upm_num in [2, '2']:
result = 'Merge'
if upm_num in [2, '2']:
result = 'Replace'
return result