[Dbconfig-common-devel] problems converting a package to
dbconfig-common
sean finney
seanius at debian.org
Mon Jul 31 09:30:21 UTC 2006
On Mon, Jul 31, 2006 at 08:41:36AM +0200, Karsten Hilbert wrote:
> To reliably detect it you will have to a) find out which
> pg_hba/pg_ident file will be used and b) parse those files
> exactly the same way PG itself does taking into account
> database name, user name, network path type (tcp/ip vs
> socket), and SSL status.
right, it's a first-to-match basis. i think i've just modified the
postgres stuff to default to something that will work with the default
postgres install. when a password is supplied, it bypasses the the ident
stuff by talking via tcp/ip to localhost instead of using a socket,
which would result in an ident check. if no password is supplied,
it defaults to the ident based method and su's to the user if it exists.
sean
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/dbconfig-common-devel/attachments/20060731/e3c269fe/attachment-0001.pgp
More information about the Dbconfig-common-devel
mailing list