mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Adapted to work with the new storage
This commit is contained in:
parent
c8b0927090
commit
e0d88cc076
@ -79,8 +79,8 @@ class samba_backend(applier_backend):
|
||||
checked only if working for user's SID.
|
||||
'''
|
||||
upm = self.storage.get_key_value(self.__user_policy_mode_key)
|
||||
if upm and upm.data:
|
||||
upm = int(upm.data)
|
||||
if upm:
|
||||
upm = int(upm)
|
||||
if upm < 0 or upm > 2:
|
||||
upm = 0
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user