Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Problèm e d'authentification


  • From: Stephane Bortzmeyer <bortzmeyer(at)nic(dot)fr>
  • To: Kata Goto <black(dot)katagoto(at)gmail(dot)com>
  • Cc: pgsql-fr-generale(at)postgresql(dot)org
  • Subject: Re: Problèm e d'authentification
  • Date: Wed, 15 Jul 2009 16:04:57 +0200
  • Message-id: <20090715140457.GA19205@nic.fr> <text/plain>

On Wed, Jul 15, 2009 at 01:28:21PM +0200,
 Kata Goto <black(dot)katagoto(at)gmail(dot)com> wrote 
 a message of 87 lines which said:

> Je sais que cela pose un problème de sécurité,

C'est le moins qu'on puisse dire. Pourquoi ne pas utiliser au moins
hostssl ?

> > Error connection to the server: FATAL: aucune entrée dans pg_hba.conf pour
> > l'hôte "xx.xxx.xxx.xxx", utilisateur "mon_utilisateur"
> > base de données "postgres", SSL inactif

> host    all         all         0.0.0.0/32            md5
                                          ^^
                                          À mon avis, cela devrait être
					  0 et pas 32

http://www.postgresql.org/docs/8.3/interactive/auth-pg-hba-conf.html

The mask length indicates the number of high-order bits of the client
IP address that must match.

Autre possibilité, c'est que votre client est en IPv6, votre règle ne
marche que pour IPv4.



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group