Re: Check if LDAP Authentication is used for user

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pinker <pinker(at)onet(dot)eu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Check if LDAP Authentication is used for user
Date: 2014-12-23 15:29:19
Message-ID: 31492.1419348559@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

pinker <pinker(at)onet(dot)eu> writes:
> Is there any way to check from SQL or psql level if for roles LDAP
> Authentication is used? There is no information in pg_roles or pg_shadow.

Nope, sorry. That's determined by pg_hba.conf, which is intentionally
not exposed to clients (and wouldn't necessarily make the determination
on a per-role basis, either).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message pinker 2014-12-23 15:48:48 Re: Check if LDAP Authentication is used for user
Previous Message pinker 2014-12-23 12:05:33 Check if LDAP Authentication is used for user