Re: postgresql and LDAP - Mailing list pgsql-general

From Gregory Stark
Subject Re: postgresql and LDAP
Date
Msg-id 8763ih7aui.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: postgresql and LDAP  (Emanuel Calvo Franco <postgres.arg@gmail.com>)
List pgsql-general
Emanuel Calvo Franco <postgres.arg@gmail.com> writes:

> 2009/3/10 Gregory Stark <stark@enterprisedb.com>:
>> Tom Lane <tgl@sss.pgh.pa.us> writes:
>>> However, a tip that might help is that there should be more information
>>> about the problem in the postmaster log.  We intentionally don't send
>>> details about the conf file's contents to the client...
>>
>> Perhaps we should send a HINT to the client saying to consult the postmaster
>> logs?

egg on my face -- we already *do* have such a hint:

        ereport(FATAL,
                (errcode(ERRCODE_CONFIG_FILE_ERROR),
                 errmsg("missing or erroneous pg_hba.conf file"),
                 errhint("See server log for details.")));

> IMHO I think is quite dangerous because someone with experience could guess
> some security details.

How?

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's 24x7 Postgres support!

pgsql-general by date:

Previous
From: Andreas Wenk
Date:
Subject: Re: bug?: permission denied for schema on "on delete set null"
Next
From: Ivan Sergio Borgonovo
Date:
Subject: Re: bug?: permission denied for schema on "on delete set null"