[Debian] parse_hba: invalid syntax in pg_hba.conf file at line 235, token "ident"

Lists: pgsql-de-allgemein
From: Sebastian Niehaus <killedbythoughts(at)mindcrime(dot)net>
To: pgsql-de-allgemein(at)postgresql(dot)org
Subject: [Debian] parse_hba: invalid syntax in pg_hba.conf file at line 235, token "ident"
Date: 2004-05-04 21:26:32
Message-ID: m3fzaf3muv.fsf@worst-case.niehaus.dynodns.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-de-allgemein

Hallo,

ich habe ein Problem, für welches mir Google keine brauchbare Lösung
gegeben hat[1].

Ich kann mit phpggaadmin nicht einloggen, in der Logdatei
/var/log/postgres.log erscheint bei jedem Versuch

| parse_hba: invalid syntax in pg_hba.conf file at line 235, token "ident"

Zeile 235 von /etc/postgresql/pg_hba.conf lautet:

| local all ident sameuser password

Die komplette Datei ist

,----
| toxic:/home/niehaus# grep -v ^# /etc/postgresql/pg_hba.conf
|
|
|
| local all ident sameuser password
| host all 127.0.0.1 255.0.0.0 ident sameuser password
| host all 192.168.0.98 255.255.255.0 trust sameuser password
| host all 0.0.0.0 0.0.0.0 reject
`----

Ich gebe ja zu, grauenvoll wenig Ahnung von Datenbanken allgemein und
PostgreSQL allgemein zu haben, aber kann mir jemand einen Schubs in
die richtige Richtung geben?

Mein Rechner: Debian Linux/Woody, Postgres:

,----
| toxic:/home/niehaus# apt-cache policy postgresql
| postgresql:
| Installed: 7.2.1-2woody4
| Candidate: 7.2.1-2woody4
| Version Table:
| *** 7.2.1-2woody4 0
| 500 cdrom://[Debian GNU/Linux 3.0 r2 _Woody_ - Official i386 Binary-1 (20031201)] unstable/main Packages
| 500 http://security.debian.org woody/updates/main Packages
| 500 http://ftp.rfc822.org woody/updates/main Packages
| 500 ftp://ftp.de.debian.org woody/main Packages
| 100 /var/lib/dpkg/status
| toxic:/home/niehaus#
`----

Danke für eventuelle Tips,

Sebastian

[1] http://www.google.com/search?hl=de&ie=utf-8&oe=utf-8&q=parse_hba%3A+invalid+syntax+in+pg_hba.conf+file+at+line+token+%22ident%22&btnG=Suche&lr=


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: killedbythoughts(at)mindcrime(dot)net, pgsql-de-allgemein(at)postgresql(dot)org
Subject: Re: [Debian] parse_hba: invalid syntax in pg_hba.conf file at line 235, token "ident"
Date: 2004-05-10 07:38:53
Message-ID: 200405100938.53736.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-de-allgemein

Sebastian Niehaus wrote:
> Ich kann mit phpggaadmin nicht einloggen, in der Logdatei
> /var/log/postgres.log erscheint bei jedem Versuch
>
> | parse_hba: invalid syntax in pg_hba.conf file at line 235, token
> | "ident"
>
> Zeile 235 von /etc/postgresql/pg_hba.conf lautet:
> | local all ident
> | sameuser password

Entweder "ident sameuser" oder "password", nicht beides.