mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Added RPM/DEB dependency for Kerberos to the server package.
2) Handle the OSError while importing the gssapi, it fixes the Windows error. refs #5457
This commit is contained in:
committed by
Akshay Joshi
parent
57a2559f11
commit
c71315f8cd
@@ -35,6 +35,11 @@ except ImportError:
|
||||
# Instead throw the runtime error, when the server attempts
|
||||
# to use this authentication method.
|
||||
KERBEROS_AUTH_AVAILABLE = False
|
||||
except OSError:
|
||||
# On Windows, it fails with OSError, when KFW libraries not found.
|
||||
# Instead throw the runtime error, when the server attempts
|
||||
# to use this authentication method.
|
||||
KERBEROS_AUTH_AVAILABLE = False
|
||||
|
||||
# Set the Kerberos config file
|
||||
if config.KRB_KTNAME and config.KRB_KTNAME != '<KRB5_KEYTAB_FILE>':
|
||||
|
||||
Reference in New Issue
Block a user