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

Make samba default backend in code

This commit is contained in:
Игорь Чудов 2020-09-09 19:56:38 +04:00
parent 2597ae46cd
commit 4abea3cc32
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -43,7 +43,7 @@ class GPConfig:
if self.full_config['gpoa']['backend'] in get_backends():
return self.full_config['gpoa']['backend']
return 'local'
return 'samba'
def set_backend(self, backend_name):
self.full_config['gpoa']['backend'] = backend_name