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ème d'authentification |
Date: | 2009-07-15 14:04:57 |
Message-ID: | 20090715140457.GA19205@nic.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-fr-generale |
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.
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Verite | 2009-07-15 14:14:39 | Re: Problème d'authentification |
Previous Message | Kata Goto | 2009-07-15 11:28:21 | Problème d'authentification |