pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Nesting records in pg_hba.conf
2+ messages / 2 participants
[nested] [flat]

* Nesting records in pg_hba.conf
@ 2016-12-20 12:12  Poul Kristensen <bcc5226@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Poul Kristensen @ 2016-12-20 12:12 UTC (permalink / raw)
  To: pgsql-admin

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,

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Nesting records in pg_hba.conf
@ 2016-12-20 13:37  Achilleas Mantzios <achill@matrix.gatewaynet.com>
  parent: Poul Kristensen <bcc5226@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Achilleas Mantzios @ 2016-12-20 13:37 UTC (permalink / raw)
  To: 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



-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-12-20 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-12-20 12:12 Nesting records in pg_hba.conf Poul Kristensen <bcc5226@gmail.com>
2016-12-20 13:37 ` Achilleas Mantzios <achill@matrix.gatewaynet.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox