| От | Tom Lane |
|---|---|
| Тема | Re: BUG #5763: pg_hba.conf not honored |
| Дата | |
| Msg-id | 8761.1290526183@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #5763: pg_hba.conf not honored ("Kaiting Chen" <kaitocracy@gmail.com>) |
| Ответы |
Re: BUG #5763: pg_hba.conf not honored
|
| Список | pgsql-bugs |
"Kaiting Chen" <kaitocracy@gmail.com> writes:
> From this pg_hba configuration as the user 'kaiting.chen' is not in role
> 'service' the second entry in the table should be skipped and he should
> authenticate via GSSAPI. However this does not happen.
I believe the definition of "in role" we use here is "has the privileges
of role". Since kaiting.chen is a superuser, all privilege tests will
succeed for him, including that one. IOW, a superuser is automatically
a member of every role. This isn't a bug.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера