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

Merge pull request #85 from altlinux/krb5_fix

gpoa: Fixed KRB5CCNAME usage
This commit is contained in:
Evgeny Sinelnikov 2020-06-25 21:03:23 +04:00 committed by GitHub
commit 343ef0d9ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()