Thread: Check if LDAP Authentication is used for user

Check if LDAP Authentication is used for user

From
pinker
Date:
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.



--
View this message in context: http://postgresql.nabble.com/Check-if-LDAP-Authentication-is-used-for-user-tp5831817.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


Re: Check if LDAP Authentication is used for user

From
Tom Lane
Date:
pinker <pinker@onet.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


Re: Check if LDAP Authentication is used for user

From
pinker
Date:
thank you for the answer.



--
View this message in context:
http://postgresql.nabble.com/Check-if-LDAP-Authentication-is-used-for-user-tp5831817p5831847.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.