[Patch] Using Windows groups for SSPI authentication

Поиск
Список
Период
Сортировка
От Russell Foster
Тема [Patch] Using Windows groups for SSPI authentication
Дата
Msg-id CA+VXQb+xNAHz+6Hy5uh6aYF0RgTVyzo7kpP7WmZ=n3pvWCHb-A@mail.gmail.com
обсуждение исходный текст
Ответы Re: [Patch] Using Windows groups for SSPI authentication  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

I have some code that I've been using that supports adding and authenticating Windows groups via the pg_ident file. This is useful for sysadmins as it lets them control database access outside the database using Windows groups. It has a new
indicator (+), that signifies the identifier is a Windows group, as in the following example:

# MAPNAME SYSTEM-USERNAME PG-USERNAME
"Users" "+User group" postgres

A new function was added to test if a user token is in the windows group:

/*
* Check if the user (sspiToken) is a member of the specified group
*/
static BOOL
sspi_user_is_in_group(HANDLE sspiToken, LPCTSTR groupName)

Attached is the patch.

thanks,
Russell Foster

Вложения

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

Предыдущее
От: Hamid Akhtar
Дата:
Сообщение: Re: Improved Cost Calculation for IndexOnlyScan
Следующее
От: gkokolatos@pm.me
Дата:
Сообщение: Re: PATCH: Attempt to make dbsize a bit more consistent