Re: User Authentication: LDAP and "local" accounts concurrently ? - Mailing list pgsql-admin

From Tom Lane
Subject Re: User Authentication: LDAP and "local" accounts concurrently ?
Date
Msg-id 23114.1542984456@sss.pgh.pa.us
Whole thread Raw
In response to User Authentication: LDAP and "local" accounts concurrently ?  ("Lentes, Bernd" <bernd.lentes@helmholtz-muenchen.de>)
List pgsql-admin
"Lentes, Bernd" <bernd.lentes@helmholtz-muenchen.de> writes:
> i created a Postgres Server 9.6 on a SLES 12 SP3 box. In our institution we have a Windows ADS which i like to use to
authenticateusers via LDAP. But because there are several prerequisites to create such an account, which make things 
> sometime complicated, i also like to create "local" users (users defined in the postgres DB itself).
> Is it possible to use both concurrently ? Some users autheticate via LDAP, others local.

I think you could put the two sets of users into different groups and then
specify those groups in two sets of pg_hba.conf entries.

            regards, tom lane


pgsql-admin by date:

Previous
From: "Lentes, Bernd"
Date:
Subject: User Authentication: LDAP and "local" accounts concurrently ?
Next
From: Achilleas Mantzios
Date:
Subject: Re: Logical replication monitoring