Thread: Check if LDAP Authentication is used for user
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.
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
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.