Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id EDE7F9FA3DA for ; Mon, 15 Jan 2007 06:15:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 13170-03 for ; Mon, 15 Jan 2007 06:15:34 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by postgresql.org (Postfix) with ESMTP id 32AD19FA3B3 for ; Mon, 15 Jan 2007 06:15:37 -0400 (AST) Received: by an-out-0708.google.com with SMTP id c24so740218ana for ; Mon, 15 Jan 2007 02:15:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=E8LD/qKDgmKm5OH2zn82NN5WkV2dClA6a+eynwXn3Xsr0BTmETAAqOw/gow50u/enH6Bq5ZqauVq2ha5BplkC7sA4sFqGSZg/D2KgRRkYeXZslLINaoN6+yXHLPys3mvPN805RDWwsYqA9RGpoHhZgur1gUyIJ/iF98G65fw16s= Received: by 10.64.181.12 with SMTP id d12mr28271qbf.1168856135707; Mon, 15 Jan 2007 02:15:35 -0800 (PST) Received: by 10.65.188.5 with HTTP; Mon, 15 Jan 2007 02:15:35 -0800 (PST) Message-ID: Date: Mon, 15 Jan 2007 15:15:35 +0500 From: "Shoaib Mir" To: "Josef Springer" Subject: Re: Can not connect to database in Workgroup-Net on Windows-XP Cc: pgsql-admin@postgresql.org In-Reply-To: <45AB516F.3090907@joops.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_41399_33496163.1168856135646" References: <450FAE7A.9070408@joops.com> <6BCB9D8A16AC4241919521715F4D8BCEA356C6@algol.sollentuna.se> <450FC3E0.2030001@joops.com> <6BCB9D8A16AC4241919521715F4D8BCEA356C7@algol.sollentuna.se> <45A60D3E.1060700@joops.com> <45A61751.6040603@mailnetwork.co.uk> <45AB2F54.7010609@joops.com> <45AB516F.3090907@joops.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.083 tagged_above=0 required=5 tests=AWL, BAYES_40, HTML_MESSAGE, NORMAL_HTTP_TO_IP, SPF_PASS X-Spam-Level: X-Archive-Number: 200701/120 X-Sequence-Number: 24276 ------=_Part_41399_33496163.1168856135646 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The error you are getting is because of the password not been passed correctly so 'trust' will let you get in the server without specifying the correct password, once you are in now you can change the password as you like using ALTER USER command. Once its done change it back to md5 as it wa= s before. -------------- Shoaib Mir EnterpriseDB (www.enterprisedb.com) On 1/15/07, Josef Springer wrote: > > Hi Mir, > > thanks for your quick answer. We will try this. > For my unterstanding: Why should i use *trust *instead of *md5 * ? A > configuration at another customer (with a *domain *setting) using *md5 *w= orks > fine ? > > mit freundlichen Gr=FC=DFen / best regards, > Josef Springer > (Gesch=E4ftsleitung/Management) > > [image: Postal] > Address > *Josef.Springer@joops.com* > Orlando-di-Lasso Str. 2 > D-85640 Putzbrunn > [image: Phone] > Office > +49 (0)89 600 6920 > > > [image: Phone] > Fax > +49 (0)89 600 69220 > > > [image: Web] > Web > http://www.joops.com > > > > [image: JOOPS] > *-- the software company --* > > > > > Shoaib Mir wrote: > > I can understand the exact error as its not in english :) but it seems > like an authentication problem. Please change 'md5' to 'trust' in > pg_hba.conf file and then use: > > pg_ctl -D reload > > That will reload the settings for authentication. > > Now once the settings are reloaded try reconnecting to the database and i= t > should go fine this time.... > > ---------------- > Shoaib Mir > EnterpriseDB ( www.enterprisedb.com ) > > On 1/15/07, Josef Springer wrote: > > > > Hi folks, > > > > i have a workgroup (not a classic server) with Windows-XP-machines: > > > > the database server machine contains the line > > *host all all 0.0.0.0 0.0.0.0 md5* > > in the file pg_hba.conf > > and > > *listen_addresses =3D '*' * > > in the file postgresql.conf. > > > > The clients' host file contain the line > > *nnn.nnn.nnn.nnn Labor* where nnn.nnn.nnn.nnnn is the IP-adress of > > the database server machine and /Labor /is the machine's name. > > > > If i start PGAdmin III on the 'client' machine i can not connect to > > the database on the machine Labor no matter wether i use the machine's > > name > > or the IP-adress. Instead i get the message > > > > * "Zum Server ist keine Verbindung m=F6glich, * > > > > * oder Login/Passwort sind falsch.* > > > > * Die Anmeldung wurde abgelehnt."* > > > > > > Please help me. What to do ? > > > > mit freundlichen Gr=FC=DFen / best regards, > > Josef Springer > > (Gesch=E4ftsleitung/Management) > > > > [image: Postal] > > Address > > * Josef.Springer@joops.com * > > Orlando-di-Lasso Str. 2 > > D-85640 Putzbrunn > > [image: Phone] > > Office > > +49 (0)89 600 6920 > > > > > > [image: Phone] > > Fax > > +49 (0)89 600 69220 > > > > > > [image: Web] > > Web > > http://www.joops.com > > > > > > > > [image: JOOPS] > > *-- the software company --* > > > > > > > > > > > > > ------=_Part_41399_33496163.1168856135646 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The error you are getting is because of the password not been passed correc= tly so 'trust' will let you get in the server without specifying th= e correct password, once you are in now you can change the password as you = like using ALTER USER command. Once its done change it back to md5 as it wa= s before.

--------------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 1/15/07, Josef Springer <= Josef.Springer@joops.com> wrote:
Hi Mir,

thanks for your quick answer. We will try this.
For my unterstanding: Why should i use trust instead of md5 ? A configuration at another customer (with a domain setting) using md5 works fine ?

mit freundlichen Gr=FC=DFen / best regards,
Josef Springer
(Gesch=E4ftsleitung/Management)

3D"Postal"
Address
Josef.Springer@joops.com
Orlando-di-Lasso Str. 2
D-85640 Putzbrunn
3D"Phone"
Office
+49 (0)= 89=20 600 6920


3D"Phone"
Fax
+49 (0)89 600 69220=


3D"Web"
= Web
http://www.joops.com



3D"JOOPS"
-- the software company --

 


Shoaib Mir wrote:
I can understand the exact error as its not in english :) but it seems like an authentication problem. Please change 'md5' to 'trust' i= n pg_hba.conf file and then use:

pg_ctl -D <path to data folder> reload

That will reload the settings for authentication.

Now once the settings are reloaded try reconnecting to the database and it should go fine this time....

----------------
Shoaib Mir
EnterpriseDB ( www.enterprisedb.com= )

On 1/15/07, Josef Springer <Josef.= Springer@joops.com=20 > wrote:
Hi folks,

i have a workgroup (not a classic server)  with Windows-XP-machines:<= br>
the database server machine contains the line
host   all    all   0.0.0.0   0.0.0.0     md5
in the file pg_hba.conf
and
listen_addresses =3D '*'
in the file postgresql.conf.

The clients' host file contain the line
nnn.nnn.nnn.nnn Labor where nnn.nnn.nnn.nnnn is the IP-adress of
the database server machine and /Labor /is the machine's name.

If i start PGAdmin III on the 'client' machine i can not connect t= o
the database on the machine Labor no matter wether i use the machine's= name=20
or the IP-adress. Instead i get the message

"Zum Server ist keine Verbindung m=F6glich,

oder Login/Passwort sind falsch.

Die Anmeldung wurde abgelehnt."



Please help me. What to do ?

mit freundlichen Gr=FC=DFen / best regards,
Josef Springer
(Gesch=E4ftsleitung/Management)

3D"Postal"
Address
Josef.Springer@joops.com
Orlando-di-Lasso Str. 2
D-85640 Putzbrunn
3D"Phone"
Offic= e
+49 = (0)89 600 6920


3D"Phone"
Fax
+49 (0)89 600 69220


3D"Web"
=20 Web
http://www.joops.com



3D"JOOPS"
-- the software company = --

 




=20

------=_Part_41399_33496163.1168856135646--