From: | Doug McNaught <doug(at)mcnaught(dot)org> |
---|---|
To: | rparnes(at)megalink(dot)net |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Network authentication |
Date: | 2004-12-07 01:00:27 |
Message-ID: | 87sm6i6hxw.fsf@asmodeus.mcnaught.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Bob Parnes <rparnes(at)megalink(dot)net> writes:
> I am having trouble connecting to a database on a debian server from a
> client system, also debian. Acccording to the documentation, this is
> possible without a password and offers the following example,
>
> host template1 all 192.168.93.0 255.255.255.0 \
> ident sameuser
You need to be running an ident daemon on the client machine, and also
to be aware of the security issues involved with ident.
> In addition I noticed that if I have a second line in the pg_hba.conf file,
>
> host all all 192.168.1.0 255.255.255.0 md5
>
> coming before the other line, I can connect to the server database using
> a password. However, if it follows the line, I cannot. Am I doing
> something wrong here also?
Only the first matching line in pg_hba.conf is used.
-Doug
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2004-12-07 01:02:13 | Re: Performance tuning on RedHat Enterprise Linux 3 |
Previous Message | Paul Tillotson | 2004-12-07 00:37:44 | Re: Performance tuning on RedHat Enterprise Linux 3 |