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:
parent
264cedd342
commit
583b47ae7c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user