Hello,

So. In the folder C:\Program Files\PostgreSQL\9.1\share, i have a file
called "pg_hba.conf.sample". 

Please find below the raw sentences : 
------------------
# IPv4 local connections:
host    all             all             127.0.0.1/32            @authmethod@
# IPv6 local connections:
host    all             all             ::1/128                 @authmethod@
------------------

-> I tried to change these sentences to:
------------------
# IPv4 local connections:
host    all             all             127.0.0.1/32            @authmethod@
host    all             all             192.167.40.92           trust
# IPv6 local connections:
host    all             all             ::1/128                 @authmethod@
host    all             all             192.167.40.92           trust
------------------
192.167.40.92 is the station 's ip hosting the postgresql server.

1/But the allow connection does not work. I can't open pg data from another
station.
2/Why my file called  "pg_hba.conf.sample". Why there is the extension
.sample? The file extension should be .sample, .txt, .conf? 

Could you throw light for me? 

In advance, thank you.Regards. 












--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Qgis-Postgis-impossible-to-open-a-project-tp5065048p5090619.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to