Re: pg_service and ldap

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: pg_service and ldap
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B50FEB967@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на pg_service and ldap  (Häfliger Guido <guido.haefliger@vogelwarte.ch>)
Ответы Re: pg_service and ldap  (Häfliger Guido <guido.haefliger@vogelwarte.ch>)
Список pgsql-admin
Häfliger Guido wrote:
> I would like to configure pg_service.conf with an ldap-url so that pg_service takes the login
> informations from a Windows Domain Server (windows-client is connected to the domain).
> The database is running on a linux server where pam-authentification is configured.
> I want omit that the user have to login another time when he connect to the database.
> Is this possible? If yes, can somebody give me a hint how to set the ldap-url?

pg_service.conf cannot help you with authentication, it helps you to map a
symbolic database name to the actual connection parameters.
The only difference when you use an LDAP URL is that the connection data are
not stored locally on the client, but on an LDAP server.

You could theoretically store the clear text password on the LDAP server and
use it for authentiction, but that would be a very bad idea since the LDAP server
must be configured for anonymous bind.
Think of it as a kind of public phone book.

If you want single sign-on on Windows, you should look into SSPI authentication:
http://www.postgresql.org/docs/9.4/static/auth-methods.html#SSPI-AUTH

Yours,
Laurenz Albe

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

Предыдущее
От: Häfliger Guido
Дата:
Сообщение: pg_service and ldap
Следующее
От: "Williams, Alex"
Дата:
Сообщение: Re: Question on Hot Standby in PostgreSQL