odbc access and pg_hba.conf

odbc access and pg_hba.conf

am 19.11.2009 19:25:31 von Steve.Toutant

Message en plusieurs parties au format MIME
--=_alternative 006536C185257673_=
Content-Type: text/plain; charset="US-ASCII"

Hi,
I installed the odbc driver (psqlodbc v08_03_0400) on a computer. I
configured the odbc connection and the connection test was succesfull.
That surprised me since this computer is not yet in my pg_hba.conf

Is the odbc driver supposed to "bypass" the pg_hba.conf?

I don't know much about the admin side of postgres. I don't know which
information could be useful to you.
Please ask for any information that would help

Here is the content of my pg_hba.conf
host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5
host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5


Thanks for your help,
steve
--=_alternative 006536C185257673_=
Content-Type: text/html; charset="US-ASCII"



Hi,

I installed the odbc driver (psqlodbc
v08_03_0400) on a computer. I configured the odbc connection and the connection
test was succesfull.


That surprised me since this computer
is not yet in my pg_hba.conf




Is the odbc driver supposed to "bypass"
the pg_hba.conf?




I don't know much about the admin side
of postgres. I don't know which information could be useful to you.


Please ask for any information that
would help




Here is the content of my pg_hba.conf

host        all
       dba        xxx.xxx.xxx.xxx
255.255.255.0        md5


host        all
       dba        yyy.yyy.yyy.yyy
255.255.254.0        md5




Thanks for your help,

steve
--=_alternative 006536C185257673_=--

Re: odbc access and pg_hba.conf

am 19.11.2009 19:48:30 von Adrian Klaver

----- "Steve Toutant" wrote:

> Hi,
> I installed the odbc driver (psqlodbc v08_03_0400) on a computer. I
> configured the odbc connection and the connection test was succesfull.
> That surprised me since this computer is not yet in my pg_hba.conf
>
> Is the odbc driver supposed to "bypass" the pg_hba.conf?
>
> I don't know much about the admin side of postgres. I don't know which
> information could be useful to you.
> Please ask for any information that would help
>
> Here is the content of my pg_hba.conf
> host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5
> host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5

Is this your entire pg_hba.conf? Remember the first match wins, so if there is a more permissive line above these it will take precendence.

>
>
>
>
> Thanks for your help,
> steve


Adrian Klaver
aklaver@comcast.net

--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: odbc access and pg_hba.conf

am 19.11.2009 19:50:12 von Rod

On 19/11/2009 18:25, Steve.Toutant@inspq.qc.ca wrote:

> I installed the odbc driver (psqlodbc v08_03_0400) on a computer. I
> configured the odbc connection and the connection test was succesfull.
> That surprised me since this computer is not yet in my pg_hba.conf
>
> Is the odbc driver supposed to "bypass" the pg_hba.conf?

No, not at all - ODBC is client-side, while the pg_hba.conf file is
server-side.

> I don't know much about the admin side of postgres. I don't know which
> information could be useful to you.
> Please ask for any information that would help
>
> Here is the content of my pg_hba.conf
> host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5
> host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5

Are you sure that (a) the client machine's IP address doesn't match
these rules, and (b) there isn't another rule elsewhere in the file that
grants it access? Check also that the user as which you're connecting is
what you expect.

I know these are obvious things, but without further details it's hard
to tell what the problem is.

Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: odbc access and pg_hba.conf

am 19.11.2009 19:51:54 von Steve.Toutant

Message en plusieurs parties au format MIME
--=_alternative 0067A13885257673_=
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="ISO-8859-1"

the first line is host all all 127.0.0.1/32 md5

So the full hba.conf is

host all all 127.0.0.1/32 md5
host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5
host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5


xxx.xxx.xxx.xxx is the ip address of the server running postgres




Adrian Klaver @postgresql.org=20
Envoy=E9 par : pgsql-odbc-owner@postgresql.org
19/11/2009 01:48 PM

A
Steve Toutant
cc
pgsql-odbc@postgresql.org
Objet
Re: [ODBC] odbc access and pg=5Fhba.conf









----- "Steve Toutant" wrote:

> Hi,
> I installed the odbc driver (psqlodbc v08=5F03=5F0400) on a computer. I
> configured the odbc connection and the connection test was succesfull.
> That surprised me since this computer is not yet in my pg=5Fhba.conf
>=20
> Is the odbc driver supposed to "bypass" the pg=5Fhba.conf?
>=20
> I don't know much about the admin side of postgres. I don't know which
> information could be useful to you.
> Please ask for any information that would help
>=20
> Here is the content of my pg=5Fhba.conf
> host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5
> host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5

Is this your entire pg=5Fhba.conf? Remember the first match wins, so if=20
there is a more permissive line above these it will take precendence.

>=20
>=20
>=20
>=20
> Thanks for your help,
> steve


Adrian Klaver
aklaver@comcast.net

--=20
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc




--=_alternative 0067A13885257673_=
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="ISO-8859-1"



the first line is host    =
all
        all         127.0.0.1/32
         md5




So the full hba.conf is



host    all    
    all         127.0.0.1/32    
     md5


host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5

host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5




  xxx.xxx.xxx.xxx tt>
is the ip address of the server running postgres










Adrian Klaver <akl=
aver@comcast.net>@postgresql.org



Envoy=E9 par : pgsql-odbc-owner@post=
gresql.org

19/11/2009 01:48 PM







A

Steve Toutant <Steve.Toutant@insp=
q.qc.ca>


cc

pgsql-odbc@postgresql.org

Objet

Re: [ODBC] odbc access and pg=5Fhba.=
conf




















----- "Steve Toutant" <Steve.Toutant@inspq.qc.ca> wrote:



> Hi,

> I installed the odbc driver (psqlodbc v08=5F03=5F0400) on a computer.
I

> configured the odbc connection and the connection test was succesfull.=


> That surprised me since this computer is not yet in my pg=5Fhba.conf r>
>

> Is the odbc driver supposed to "bypass" the pg=5Fhba.conf? r>
>

> I don't know much about the admin side of postgres. I don't know which=


> information could be useful to you.

> Please ask for any information that would help

>

> Here is the content of my pg=5Fhba.conf

> host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5

> host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5



Is this your entire pg=5Fhba.conf? Remember the first match wins, so if the=
re
is a more permissive line above these it will take precendence.



>

>

>

>

> Thanks for your help,

> steve





Adrian Klaver

aklaver@comcast.net



--

Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)

To make changes to your subscription:

http://www.postgresql.org/mailpref/pgsql-odbc








--=_alternative 0067A13885257673_=--

Re: odbc access and pg_hba.conf

am 19.11.2009 19:54:06 von Richard Broersma

On Thu, Nov 19, 2009 at 10:25 AM, wrote:

> Here is the content of my pg_hba.conf
> host =A0 =A0 =A0 =A0all =A0 =A0 =A0 =A0dba =A0 =A0 =A0 =A0xxx.xxx.xxx.xxx=
255.255.255.0 =A0 =A0 =A0 =A0md5
> host =A0 =A0 =A0 =A0all =A0 =A0 =A0 =A0dba =A0 =A0 =A0 =A0yyy.yyy.yyy.yyy=
255.255.254.0 =A0 =A0 =A0 =A0md5

There is one point that may or may not be the cause of your problem.
The pg_hba.conf file can be altered any way you want. But the changes
don't take affect until the PostgreSQL server reload the config files.

--=20
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

--=20
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: odbc access and pg_hba.conf

am 19.11.2009 19:57:42 von Steve.Toutant

Message en plusieurs parties au format MIME
--=_alternative 0068292585257673_=
Content-Type: text/plain; charset="US-ASCII"

I didn't modify the hba.conf yet.
The user has access without his IP address in it.

thanks!





Richard Broersma
19/11/2009 01:54 PM

A
Steve.Toutant@inspq.qc.ca
cc
pgsql-odbc@postgresql.org
Objet
Re: [ODBC] odbc access and pg_hba.conf








On Thu, Nov 19, 2009 at 10:25 AM, wrote:

> Here is the content of my pg_hba.conf
> host all dba xxx.xxx.xxx.xxx 255.255.255.0
md5
> host all dba yyy.yyy.yyy.yyy 255.255.254.0
md5

There is one point that may or may not be the cause of your problem.
The pg_hba.conf file can be altered any way you want. But the changes
don't take affect until the PostgreSQL server reload the config files.

--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug




--=_alternative 0068292585257673_=
Content-Type: text/html; charset="US-ASCII"



I didn't modify the hba.conf yet.

The user has access without his IP address
in it.




thanks!











Richard Broersma <richard.broersma@gmail.com>

19/11/2009 01:54 PM







A

Steve.Toutant@inspq.qc.ca

cc

pgsql-odbc@postgresql.org

Objet

Re: [ODBC] odbc access and pg_hba.conf


















On Thu, Nov 19, 2009 at 10:25 AM,  <Steve.Toutant@inspq.qc.ca>
wrote:



> Here is the content of my pg_hba.conf

> host        all        dba
       xxx.xxx.xxx.xxx 255.255.255.0    
   md5

> host        all        dba
       yyy.yyy.yyy.yyy 255.255.254.0    
   md5



There is one point that may or may not be the cause of your problem.

The pg_hba.conf file can be altered any way you want.  But the changes

don't take affect until the PostgreSQL server reload the config files.



--

Regards,

Richard Broersma Jr.



Visit the Los Angeles PostgreSQL Users Group (LAPUG)

http://pugs.postgresql.org/lapug








--=_alternative 0068292585257673_=--

Re: odbc access and pg_hba.conf

am 19.11.2009 20:00:47 von Adrian Klaver

----- "Steve Toutant" wrote:

> the first line is host all all 127.0.0.1/32 md5
>
> So the full hba.conf is
>
> host all all 127.0.0.1/32 md5
> host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5
> host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5
>
>
>
> xxx.xxx.xxx.xxx is the ip address of the server running postgres
>
>
>
>

> >
> > Thanks for your help,
> > steve
>
>

In addition to what Richard said, what is the network that the client is running on?

Adrian Klaver
aklaver@comcast.net

--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: odbc access and pg_hba.conf

am 19.11.2009 20:02:40 von Rod

On 19/11/2009 18:51, Steve.Toutant@inspq.qc.ca wrote:
> the first line is host all all 127.0.0.1/32 md5
>
> So the full hba.conf is
>
> host all all 127.0.0.1/32 md5
> host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5
> host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5
>
>
> xxx.xxx.xxx.xxx is the ip address of the server running postgres

And what's yyy.yyy.yyy.yyy?

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: odbc access and pg_hba.conf

am 19.11.2009 20:26:32 von Steve.Toutant

--=_mixed 006ACCC585257673_=
Content-Type: multipart/alternative; boundary="=_alternative 006ACCC585257673_="


--=_alternative 006ACCC585257673_=
Content-Type: text/plain; charset="US-ASCII"

ok, done with thesse xxx, yyy I'm on a private network so here is the real
content of hba.conf
host all all 127.0.0.1/32 md5
host all dbaInspq 10.2.192.247 255.255.255.0 md5
host all dbaInspq 10.2.195.37 255.255.254.0 md5

10.2.192.247 is the server running postgres/postgis
10.2.195.37 is my computer

Also, please find attached the screenshot of the odbc config of the
client.

In this ODBC config of the client, if I change the User Name to test
instead of dbaInspq, I get this error
FATAL: no pg_hba.conf entry for host "10.2.195.53", user "test", database
"geo", SSL off

10.2.195.53 is the ipaddress of the client, and it is not in pg_hba.conf

The client has winXP and he's using the ODBC driver to access postgres
with SAS.
Another information, the database geo is a postgis database.

thanks for helping me!
Steve






Adrian Klaver
19/11/2009 02:00 PM

A
Steve Toutant
cc
pgsql-odbc@postgresql.org, pgsql-odbc-owner@postgresql.org
Objet
Re: [ODBC] odbc access and pg_hba.conf











----- "Steve Toutant" wrote:

> the first line is host all all 127.0.0.1/32 md5
>
> So the full hba.conf is
>
> host all all 127.0.0.1/32 md5
> host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5
> host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5
>
>
>
> xxx.xxx.xxx.xxx is the ip address of the server running postgres
>
>
>
>

> >
> > Thanks for your help,
> > steve
>
>

In addition to what Richard said, what is the network that the client is
running on?

Adrian Klaver
aklaver@comcast.net




--=_alternative 006ACCC585257673_=
Content-Type: text/html; charset="US-ASCII"



ok, done with thesse xxx, yyy I'm on
a private network so here is the real content of hba.conf


host    all    
    all         127.0.0.1/32    
     md5


host        all
       dbaInspq        10.2.192.247
255.255.255.0        md5


host        all
       dbaInspq        10.2.195.37
255.255.254.0        md5




10.2.192.247 is the server running postgres/postgis

10.2.195.37 is my computer



Also, please find attached the screenshot
of the odbc config of the client.




In this ODBC config of the client, if
I change the User Name to test instead of dbaInspq, I get this error


FATAL: no pg_hba.conf entry for host
"10.2.195.53", user "test", database "geo",
SSL off




10.2.195.53 is the ipaddress of the
client, and it is not in pg_hba.conf




The client has winXP and he's using
the ODBC driver to access postgres with SAS.


Another information, the database geo
is a postgis database.




thanks for helping me!

Steve














Adrian Klaver <aklaver@comcast.net>

19/11/2009 02:00 PM







A

Steve Toutant <Steve.Toutant@inspq.qc.ca>

cc

pgsql-odbc@postgresql.org, pgsql-odbc-owner@postgresql.org

Objet

Re: [ODBC] odbc access and pg_hba.conf
























----- "Steve Toutant" <Steve.Toutant@inspq.qc.ca> wrote:



> the first line is host all all 127.0.0.1/32 md5

>

> So the full hba.conf is

>

> host all all 127.0.0.1/32 md5

> host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5

> host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5

>

>

>

> xxx.xxx.xxx.xxx is the ip address of the server running postgres

>

>

>

>



> >

> > Thanks for your help,

> > steve

>

>



In addition to what Richard said, what is the network that the client is
running on?



Adrian Klaver

aklaver@comcast.net








--=_alternative 006ACCC585257673_=--

--=_mixed 006ACCC585257673_=
Content-Type: image/gif; name="odbcConfig.gif"
Content-Disposition: attachment; filename="odbcConfig.gif"
Content-Transfer-Encoding: base64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PzwcQQXNjlVx3j1KS9Af7vYd+7XwLbFdgzs4FkXE8iDNVAE8BqzSdU50Gd
AUkmuwV20INGayC+fica3cmGa/n7YAp35jwH7k8661vcxuY3MxXWEHwsLF8J
KzNC6sRshiC0YRBth0P96ZAxPCSQDxEoRCauEIWrc+EOYQg8Ef5QcFfEYha1
uEUudtGLgXsihWTyRS5OkYRKvEit1LhGNrbRjW+EYxzlOEc6ulFdoMMj5nBF
Ri/+sIl/BGR8BjVIQhYSUArJYyJDF0hGNtKRj4RkJCU5SUpW0pKXxGQmNblJ
TnbSk58EZShFOUpSltKUBwkIADs=

--=_mixed 006ACCC585257673_=
Content-Type: text/plain
Content-Disposition: inline
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable


--=20
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

--=_mixed 006ACCC585257673_=--

Re: odbc access and pg_hba.conf

am 19.11.2009 20:33:03 von Steve.Toutant

Message en plusieurs parties au format MIME
--=_alternative 006B65BE85257673_=
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="ISO-8859-1"

I I remove this line the client doesn't have access.
host all dbaInspq 10.2.195.37 255.255.254.0 md5

But I don't understand why. Maybe because of 255.255.254.0

I probably misunderstood the option I should put in this hba.conf

what do you think?
thanks
steve

Steve Toutant, M. Sc.
Analyste en g=E9omatique
Secteur environnement
Direction de la sant=E9 environnementale et de la toxicologie
Institut national de sant=E9 publique du Qu=E9bec
945, avenue Wolfe
Qu=E9bec, Qc G1V 5B3=20
T=E9l.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.toutant@inspq.qc.ca
http://www.inspq.qc.ca
=20




Adrian Klaver =20
19/11/2009 02:00 PM

A
Steve Toutant
cc
pgsql-odbc@postgresql.org, pgsql-odbc-owner@postgresql.org
Objet
Re: [ODBC] odbc access and pg=5Fhba.conf











----- "Steve Toutant" wrote:

> the first line is host all all 127.0.0.1/32 md5
>=20
> So the full hba.conf is
>=20
> host all all 127.0.0.1/32 md5
> host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5
> host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5
>=20
>=20
>=20
> xxx.xxx.xxx.xxx is the ip address of the server running postgres
>=20
>=20
>=20
>=20

> >
> > Thanks for your help,
> > steve
>=20
>=20

In addition to what Richard said, what is the network that the client is=20
running on?

Adrian Klaver
aklaver@comcast.net




--=_alternative 006B65BE85257673_=
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="ISO-8859-1"



I I remove this line the client does=
n't
have access.


host        all
       dbaInspq        10.2.195.37
255.255.254.0        md5




But I don't understand why. Maybe be=
cause
of 255.255.254.0




I probably misunderstood the option
I should put in this hba.conf




what do you think?

thanks

steve



Steve Toutant, M. Sc. ont size=3D3>

Analyste en g=E9omatique

Secteur environnement

Direction de la sant=E9 environnementale et de la toxicologie

Institut national de sant=E9 publique du Qu=E9bec

945, avenue Wolfe

Qu=E9bec, Qc G1V 5B3

T=E9l.: (418) 650-5115 #5281

Fax.: (418) 654-3144


=3Dblue>steve.toutant@inspq.qc.ca lue>

>http://www.inspq.qc.ca

 










Adrian Klaver <akl=
aver@comcast.net>


19/11/2009 02:00 PM







A

Steve Toutant <Steve.Toutant@insp=
q.qc.ca>


cc

pgsql-odbc@postgresql.org, pgsql-odb=
c-owner@postgresql.org


Objet

Re: [ODBC] odbc access and pg=5Fhba.=
conf
























----- "Steve Toutant" <Steve.Toutant@inspq.qc.ca> wrote:



> the first line is host all all 127.0.0.1/32 md5

>

> So the full hba.conf is

>

> host all all 127.0.0.1/32 md5

> host all dba xxx.xxx.xxx.xxx 255.255.255.0 md5

> host all dba yyy.yyy.yyy.yyy 255.255.254.0 md5

>

>

>

> xxx.xxx.xxx.xxx is the ip address of the server running postgres

>

>

>

>



> >

> > Thanks for your help,

> > steve

>

>



In addition to what Richard said, what is the network that the client is
running on?



Adrian Klaver

aklaver@comcast.net








--=_alternative 006B65BE85257673_=--

Re: odbc access and pg_hba.conf

am 19.11.2009 20:37:50 von Rod

On 19/11/2009 19:26, Steve.Toutant@inspq.qc.ca wrote:
> ok, done with thesse xxx, yyy I'm on a private network so here is the real
> content of hba.conf

That's more like it! :-) The more detail you can give, the easier it is
for people to help you.

> host all all 127.0.0.1/32 md5
> host all dbaInspq 10.2.192.247 255.255.255.0 md5
> host all dbaInspq 10.2.195.37 255.255.254.0 md5
>
> 10.2.192.247 is the server running postgres/postgis
> 10.2.195.37 is my computer

I'm no whizz at working out IP addresses and masks, but if all these
machines are on the same network then they should be sharing the same
network mark. You've got two different ones there - is that correct?

Only a wild guess, but this *might* be the root of your trouble.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: odbc access and pg_hba.conf

am 19.11.2009 20:43:18 von Rod

On 19/11/2009 19:37, Raymond O'Donnell wrote:

> network mark. You've got two different ones there - is that correct?

Whoops - s/mark/mask/

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: odbc access and pg_hba.conf FIXED

am 19.11.2009 20:48:32 von Steve.Toutant

Message en plusieurs parties au format MIME
--=_alternative 006CD06E85257673_=
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="ISO-8859-1"

Setting this line
host all dbaInspq 10.2.195.37/32 md5
Only allow this computer to access the DB and Block my other client
If I add this line
host all dbaInspq 10.2.195.53/32 md5

It works
So the problem was using a netmask, that specify all host with the IP=20
10.2.195.*

So, ODBC works! My config didn't.

Thanks for your help,
steve






Raymond O'Donnell =20
19/11/2009 02:37 PM
Veuillez r=E9pondre =E0
rod@iol.ie


A
Steve.Toutant@inspq.qc.ca
cc
Adrian Klaver , pgsql-odbc@postgresql.org,=20
pgsql-odbc-owner@postgresql.org
Objet
Re: [ODBC] odbc access and pg=5Fhba.conf








On 19/11/2009 19:26, Steve.Toutant@inspq.qc.ca wrote:
> ok, done with thesse xxx, yyy I'm on a private network so here is the=20
real=20
> content of hba.conf

That's more like it! :-) The more detail you can give, the easier it is
for people to help you.

> host all all 127.0.0.1/32 md5
> host all dbaInspq 10.2.192.247 255.255.255.0 md5
> host all dbaInspq 10.2.195.37 255.255.254.0 md5
>=20
> 10.2.192.247 is the server running postgres/postgis
> 10.2.195.37 is my computer

I'm no whizz at working out IP addresses and masks, but if all these
machines are on the same network then they should be sharing the same
network mark. You've got two different ones there - is that correct?

Only a wild guess, but this *might* be the root of your trouble.

Ray.

--=20
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie




--=_alternative 006CD06E85257673_=
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="ISO-8859-1"



Setting this line

host        all
       dbaInspq        10.2.195.37/=
32
               
       md5


Only allow this computer to access t=
he
DB and Block my other client


If I add this line

host        all
       dbaInspq        10.2.195.53/=
32
               
       md5




It works

So the problem was using a netmask,
that specify all host with the IP 10.2.195.*




So, ODBC works! My config didn't. ont>



Thanks for your help,

steve













Raymond O'Donnell <=
;rod@iol.ie>


19/11/2009 02:37 PM




Veuillez r=E9pondre =
=E0

rod@iol.ie









A

Steve.Toutant@inspq.qc.ca

cc

Adrian Klaver <aklaver@comcast.ne=
t>,
pgsql-odbc@postgresql.org, pgsql-odbc-owner@postgresql.org


Objet

Re: [ODBC] odbc access and pg=5Fhba.=
conf


















On 19/11/2009 19:26, Steve.Toutant@inspq.qc.ca wrote=
:

> ok, done with thesse xxx, yyy I'm on a private network so here is
the real

> content of hba.conf



That's more like it! :-) The more detail you can give, the easier it is

for people to help you.



> host    all         all    
    127.0.0.1/32          md5

> host    all     dbaInspq      
 10.2.192.247 255.255.255.0      md5

> host    all     dbaInspq      
 10.2.195.37 255.255.254.0       md5

>

> 10.2.192.247 is the server running postgres/postgis

> 10.2.195.37 is my computer



I'm no whizz at working out IP addresses and masks, but if all these

machines are on the same network then they should be sharing the same

network mark. You've got two different ones there - is that correct?



Only a wild guess, but this *might* be the root of your trouble.



Ray.



--

Raymond O'Donnell :: Galway :: Ireland

rod@iol.ie








--=_alternative 006CD06E85257673_=--