[gull] authentification CGI - DBI perl dans PostgreSQL

Amel Kapetanovic a.kapetanovic at hispeed.ch
Sat Mar 18 12:12:34 CET 2006


Florian Salamin wrote:
reBonjour,

Voici les info

> Quelle est votre configuration dans pg_hba.conf ?

Voici tout ce qui n'est pas en commentaire

# TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK           METHOD
# Database administrative login by UNIX sockets
local   all         postgres                                        
ident sameuser
#
# All other connections by UNIX sockets
local   all         all                                             
ident sameuser
#
# All IPv4 connections from localhost
host    all         all         127.0.0.1         255.255.255.255   
ident sameuser
#
# All IPv6 localhost connections
host    all         all         ::1               
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff        ident sameuser
host    all         all         ::ffff:127.0.0.1/128                
ident sameuser
#
# reject all other connection attempts
host    all         all         0.0.0.0           0.0.0.0           reject


> Est-ce que l'utilisateur 'amel' a été créé dans PostgreSQL ?

Oui, et il peut se connecter avec psql sans problèmes.

Merci d'avance  :)

@+
Amel



More information about the gull mailing list