Re: first time odbc

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: first time odbc
Дата
Msg-id 4D934AF3.8040404@gmail.com
обсуждение исходный текст
Ответ на Re: first time odbc  (Marc Fromm <Marc.Fromm@wwu.edu>)
Список pgsql-odbc
On 03/30/2011 07:54 AM, Marc Fromm wrote:
> I only want the users to read data, thus I removed superuser and applied grant select.
>
> If the listen_address is not a client filter, would it still be better to only have it listen to localhost and the
fewip addresses that will need to odbc to the postgres database? Is it just not possible to assign listen_address =
'localhost,1.ip.address, 2.ip.address'? 

listen_address refers to the addresses available on the host. More than
one assumes you have more than one IP address bound to the database
host. You will not get the result you want using the method you propose
above.

>
> One other thing still, if in the pg_hba.conf file I do not include any ip addresses I cannot connect to the database.
IfI enter just one ip address, any computer can connect to the database, even though some machines have static ip
addressesand others have dhcp address from a completely different subnet. Do you know why this is? I figured the
pg_hba.conffile controlled access by ip address, based on other googled articles. 

pg_hba.conf works by first match wins. My guess is you have line above
your IP line that is more permissive and is allowing connections. Per a
previous post, you probably should spend some time with the manual to
fully understand the interaction between the various security,access
components of Postgres:)
>
> Thanks
>
>
--
Adrian Klaver
adrian.klaver@gmail.com

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

Предыдущее
От: Marc Fromm
Дата:
Сообщение: Re: first time odbc
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: first time odbc