mirror of
https://github.com/fruworg/fruworg.github.io.git
synced 2025-06-26 04:53:59 +03:00
small fix
This commit is contained in:
@ -44,19 +44,19 @@ q
|
||||
```
|
||||
|
||||
### Изменение конфигруационного файла Postgres Pro
|
||||
```shell
|
||||
В файл `/var/lib/pgpro/std-*/data/postgresql.conf` необходимо добавить следующие строки:
|
||||
|
||||
```sh
|
||||
krb_server_keyfile = 'postgres.keytab'
|
||||
listen_addresses = 'localhost, <pg-ip>'
|
||||
|
||||
# /var/lib/pgpro/std-13/data/postgresql.conf
|
||||
```
|
||||
|
||||
### Разрешение подключения
|
||||
```shell
|
||||
В файл `/var/lib/pgpro/std-*/data/pg_hba.conf` необходимо добавить следующие строки:
|
||||
|
||||
```sh
|
||||
hostgssenc all postgres localhost/32 gss include_realm=0
|
||||
hostgssenc <database> <username> <client-ip>/32 gss include_realm=0
|
||||
|
||||
# /var/lib/pgpro/std-13/data/pg_hba.conf
|
||||
```
|
||||
|
||||
### Получение тикета от Kerberos
|
||||
|
Reference in New Issue
Block a user