Check if LDAP Authentication is used for user

Started by pinkerover 11 years ago3 messagesgeneral
Jump to latest
#1pinker
pinker@onet.eu

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.

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: pinker (#1)
Re: Check if LDAP Authentication is used for user

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

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

#3pinker
pinker@onet.eu
In reply to: Tom Lane (#2)
Re: Check if LDAP Authentication is used for user

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.

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