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

pg_hba.conf hostname todo

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_hba.conf hostname todo
Date: 2006-12-27 21:25:20
Message-ID: 1167254720.12075.46.camel@localhost.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

Per the TODO list:

Allow pg_hba.conf to specify host names along with IP addresses 

Host name lookup could occur when the postmaster reads the pg_hba.conf
file, or when the backend starts. Another solution would be to reverse
lookup the connection IP and check that hostname against the host names
in pg_hba.conf. We could also then check that the host name maps to the
IP address.

I was considering trying to attack this for 8.3. My thoughts are the

Allow one to specify a FQDN or a simple wild card DN. E.g;

A valid entry would look like this:

host    all         all         *          trust
host	all	    all	     md5


Joshua D. Drake


      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997

Donate to the PostgreSQL Project:


pgsql-hackers by date

Next:From: Simon RiggsDate: 2006-12-27 21:34:04
Subject: Re: xlog directory at initdb time
Previous:From: Simon RiggsDate: 2006-12-27 21:24:06
Subject: Re: Load distributed checkpoint

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group