Re: [PATCH] Add an ldapoption to disable chasing LDAP referrals

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Add an ldapoption to disable chasing LDAP referrals
Дата
Msg-id 51D2CBB4.2070906@gmx.net
обсуждение исходный текст
Ответ на [PATCH] Add an ldapoption to disable chasing LDAP referrals  (James Sewell <james.sewell@lisasoft.com>)
Ответы Re: [PATCH] Add an ldapoption to disable chasing LDAP referrals  (James Sewell <james.sewell@lisasoft.com>)
Список pgsql-hackers
On 7/2/13 12:20 AM, James Sewell wrote:
> Hey All,
> 
> This patch request grew from this post (of mine) to pgsql-general:
> 
> http://www.postgresql.org/message-id/CABUevEzouAe-g1_OejaGujjMem675DNYStwyBp4d_Wz6Om+fxA@mail.gmail.com
> 
> The patch adds another available LDAP option (ldapnochaseref) for
> search+bind mode in the pg_hba.conf fil. If set to 1 (0 is default) then
> it performs a ldap_set_option which disables chasing of any LDAP
> references which are returned as part of the search LDIF.

This appears to be the same as the "referrals" option in pam_ldap
(http://linux.die.net/man/5/pam_ldap).  So it seems legitimate.

For consistency, I would name the option ldapreferrals={0|1}.  I prefer
avoiding double negatives.

Do you know of a standard way to represent this option in an LDAP URL,
perhaps as an extension?




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Review: query result history in psql
Следующее
От: Andres Freund
Дата:
Сообщение: Re: MVCC catalog access