Re: Using LDAP roles in PostgreSQL

Поиск
Список
Период
Сортировка
От Lars Kanis
Тема Re: Using LDAP roles in PostgreSQL
Дата
Msg-id 201107132153.09541.kanis@comcard.de
обсуждение исходный текст
Ответ на Using LDAP roles in PostgreSQL  (Lars Kanis <kanis@comcard.de>)
Список pgsql-general
Hi Chris,

> I do have a question though.  Does your application allow for creating
> only users and groups in part of the LDAP tree?  Or does it have that
> possibility yet? Also can it be configured to ignore grants of
> specific Pg roles to users?
Yes, filters on both sides can be set and they can be different for users and
groups. The LDAP filter is according to RFC 2254 and the PG filter is plain SQL.
You may also collect all synchronized roles into a PG-group, so that you can
catch them easily. That's shown in https://github.com/larskanis/pg-ldap-
sync/blob/master/config/sample-config2.yaml

I just updated the README.txt according to your question.

> Just as an example of where I am going with this.  One of my main
> projects (LedgerSMB) uses database roles to enforce permissions.  One
> of the nice things is that password authentication could passed
> through to an LDAP server to provide SSO for an organization.
I use it together with Kerberos and with SSL-certificate authentication. Since
there are default privilegs in Postgres 9.0, it is practicable to use fine
graded privileges now.

> I plan
> to forward this announcement to the list there as well as a
> potentially useful tool.  I figure it is worth noting this on the list
> because I can't imagine I am the only one doing this.

Yes, thanks. I could announce it too, in case the list is writeable for me.

--
Regards,
Lars Kanis

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

В списке pgsql-general по дате отправления:

Предыдущее
От: Howard Cole
Дата:
Сообщение: Re: About permissions on large objects
Следующее
От: Joseph Marlin
Дата:
Сообщение: Re: Web-based Graphical Query Building Tool for PostgreSQL