mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Enabling kerberos support (#1015)
* make it possible to create users without passwords * put `krbsrvname` into the connection string if it is specified in the config * update postgres?.yml example files to mention `krbsrvname`
This commit is contained in:
committed by
Alexander Kukushkin
parent
f0b784fe7f
commit
f6d29081c9
@@ -49,6 +49,9 @@ bootstrap:
|
||||
- data-checksums
|
||||
|
||||
pg_hba: # Add following lines to pg_hba.conf after running 'initdb'
|
||||
# For kerberos gss based connectivity (discard @.*$)
|
||||
#- host replication replicator 127.0.0.1/32 gss include_realm=0
|
||||
#- host all all 0.0.0.0/0 gss include_realm=0
|
||||
- host replication replicator 127.0.0.1/32 md5
|
||||
- host all all 0.0.0.0/0 md5
|
||||
# - hostssl all all 0.0.0.0/0 md5
|
||||
@@ -62,6 +65,12 @@ bootstrap:
|
||||
- createdb
|
||||
|
||||
postgresql:
|
||||
# Fully qualified kerberos ticket file for the running user
|
||||
# same as KRB5CCNAME used by the GSS
|
||||
# krb_server_keyfile: /var/spool/keytabs/postgres
|
||||
|
||||
# Server side kerberos spn
|
||||
# krbsrvname: postgres
|
||||
listen: 127.0.0.1:5434
|
||||
connect_address: 127.0.0.1:5434
|
||||
data_dir: data/postgresql2
|
||||
|
||||
Reference in New Issue
Block a user