Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 3A3444768B2 for ; Wed, 22 May 2002 10:07:15 -0400 (EDT) Received: from lucidindia.net (unknown [61.11.73.194]) by postgresql.org (Postfix) with ESMTP id E21F3475CEB for ; Wed, 22 May 2002 10:01:18 -0400 (EDT) Received: from a4005 ([192.168.1.18]) by lucidindia.net (8.11.6/8.11.6) with SMTP id g4ME2Ke18331 for ; Wed, 22 May 2002 19:32:20 +0530 Message-ID: <002101c20199$48fdeca0$1201a8c0@a4005> From: "shreedhar" To: "pgsql" Subject: Problem in 'User Securities' in postgres Date: Wed, 22 May 2002 19:32:17 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001E_01C201C7.62715770" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200205/178 X-Sequence-Number: 4353 This is a multi-part message in MIME format. ------=_NextPart_000_001E_01C201C7.62715770 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All, I gave my previous mail on 'user securities' with subject 'probelm in users= ecurities'. In that i mentioned that access to database on localhost is all= owed without password. I got suggestion that to go through 'clinet authenti= cation'. As per that document i changed the 'pg_hba.conf' file as follows. local all password while accessing database it is asking for password, if i give database pass= word, i am getting error as 'password authentication failure for user 'xxxx= ' ' . host all x.x.x.x x.x.x.x password If i try to connect through pg_access (tcp/Ip) connection. If I supplied us= er password i got same above error.=20 In case of 'trust' connection it is allowing every body without password ch= ecking. How can i use password authentication. Another question shall we use 'unix securities' using Postgres like 'window= s-nt and sqlserver'. and what security protocol is maintaining by postgres. thanks alot for any suggestion. with best regards, bhaskar ------=_NextPart_000_001E_01C201C7.62715770 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi All,
 
I gave my previous mail on 'user securitie= s' with=20 subject 'probelm in usersecurities'. In that i mentioned that access to dat= abase=20 on localhost is allowed without password. I got suggestion that to go throu= gh=20 'clinet authentication'.
 
As per that document i changed the 'pg_hba= .conf'=20 file as follows.
 
local    all  &nb= sp;=20                = =20                = =20 password
 
while accessing database it is asking for = password,=20 if i give database password, i am getting error as 'password authentication= =20 failure for user 'xxxx' ' .
 
host    all  &nbs= p;=20 x.x.x.x    x.x.x.x    password
 
If i try to connect through pg_access (tcp= /Ip)=20 connection. If I supplied user password i got same above error.
 
In case of 'trust' connection it is allowi= ng every=20 body without password checking.
 
How can i use password authentication.
 
Another question shall we use=20 'unix securities' using Postgres like 'windows-nt and sqlserver'. and = what=20 security protocol is maintaining by postgres.
 
thanks alot for any suggestion.
 
with best regards,
 
bhaskar
------=_NextPart_000_001E_01C201C7.62715770--