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

gpoa: Fixed KRB5CCNAME usage

This commit is contained in:
Игорь Чудов 2020-06-25 20:36:11 +04:00
parent d155769cda
commit 7f88857227
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -91,9 +91,8 @@ class gpoa_controller:
'''
GPOA controller entry point
'''
os.environ['KRB5CCNAME'] = 'FILE:{}'.format(self.cache_path)
self.__kinit_successful = machine_kinit(self.cache_path)
if self.__kinit_successful:
os.environ['KRB5CCNAME'] = 'FILE:{}'.format(self.cache_path)
self.start_plugins()
self.start_backend()
self.start_frontend()