Re: Seeking experiences 'accessing' Microsoft Active Directory credentials from PostgreSQL, in conjunction with the sys admin / IT...

Поиск
Список
Период
Сортировка
От Bret S. Lambert
Тема Re: Seeking experiences 'accessing' Microsoft Active Directory credentials from PostgreSQL, in conjunction with the sys admin / IT...
Дата
Msg-id 20100224055656.GA22539@FlamingKaty.my.domain
обсуждение исходный текст
Ответ на Seeking experiences 'accessing' Microsoft Active Directory credentials from PostgreSQL, in conjunction with the sys admin / IT...  ("Greg Cocks" <gcocks@stoller.com>)
Ответы Re: Seeking experiences 'accessing' Microsoft Active Directory credentials from PostgreSQL, in conjunction with the sys admin / IT...  (Michael Wood <esiotrot@gmail.com>)
Список pgsql-novice
> *    Have IT write a script to dump the AS credentials as, say, a
> delimited text file to a (secure) location on a nightly basis (an often
> enough frequency for my purposes) - and have PostgreSQL dynamically
> link, with the right credentials, to that network location with their
> text file/s (including 'recognising' when the file/s change)

ETOOMANYMOVINGPARTS, in addition to your admins failing to leverage
the ability of AD to natively export data over a standard protocol

> *    A 'direct' read-only connection (without comprising the network
> security), but of what sort? I have no experience in how AD stores and
> shares its info, bit am happy to learn what is needed (IT has a lot of
> knowledge of course, but don't use PostgreSQL)

The most straightforward solution would be for postgres to grab the
data via an LDAP connection (that's how AD exports data) after getting
set up by your admins to get read-only access to the user data you need.

However, I'm not sure that postgres has the code to pull in LDAP
data as a table (which would be a nice feature, IMO), but doing a
daily/hourly/every 30 seconds/whenever cron job which pulls data
via a ldapsearch (I'm assuming unix, because, frankly, I don't
care about windows), and then rebuilds a table with the new data.

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

Предыдущее
От: dipti shah
Дата:
Сообщение: Re: [GENERAL] SET Role doesn't work from Security Definer Function...
Следующее
От: Jignesh Shah
Дата:
Сообщение: Not able to change the owner of function