| From: | Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: Nesting records in pg_hba.conf |
| Date: | 2016-12-20 13:37:23 |
| Message-ID: | 58593413.9070105@matrix.gatewaynet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
On 20/12/2016 14:12, Poul Kristensen wrote:
> Hi !
>
> Could anyone inform which records it is possible to nest the pg_hba.conf file?
>
> 1. My experience is that replication and local authentication can be active at the same time in pg_hba.conf,
>
pg_hba is consulted in a top->down fashion. If a certain line satisfies the criteria then this is chosen. Basically for every successful connection you have only one corresponding line in pg_hba.conf.
It doesn't fall through. So you got only one "active" line.
> 2. But my experience too is that when authentication through ldap is activated then only this is possible and NOT in combination with another active record.
>
> Does anyone agree with number 2.?
>
> Thanks
> Poul
>
>
--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt
| From | Date | Subject | |
|---|---|---|---|
| Next Message | xu jian | 2016-12-20 15:25:23 | Does special index type have index bloat issue? for instance gist, gin, brin? |
| Previous Message | Poul Kristensen | 2016-12-20 12:12:59 | Nesting records in pg_hba.conf |