Added support to connect PostgreSQL servers via Kerberos authentication. Fixes #6158

This commit is contained in:
Khushboo Vashi authored and Akshay Joshi committed 2021-05-03 16:10:45 +05:30
1 parent aa9a4c30d3
commit 72f3730c34
28 files changed
+509 -90

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ def get_crypt_key():
and not config.SERVER_MODE and enc_key is None:
return False, None
elif config.SERVER_MODE and \
session['_auth_source_manager_obj']['source_friendly_name']\
session['_auth_source_manager_obj']['current_source']\
== KERBEROS:
return True, session['kerberos_key'] if 'kerberos_key' in session \
else None