all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Seltenreich <seltenreich@gmx.de>
Subject: Re: failure to connect to postgres DB via pg.el
Date: Sat, 07 Oct 2006 13:54:41 +0200	[thread overview]
Message-ID: <874pugqr26.fsf@gate450.dyndns.org> (raw)
In-Reply-To: <m364ewtouv.fsf@cm-84.209.8.188.chello.no> (Martin Steffen's message of "07 Oct 2006 12\:14\:00 +0200")

Martin Steffen writes:

> worked fine for some years, only that when I changed recently to a new
> linux distribution (from Suse 10 to the latest Fedora core), things broke.
[...]
>   - or postgres applies tougher access restrictions on 
>      the new linux distribution, and therefore rejects me
>
>      What is strange, however, is that I can access the
>      running data base as "user-name" using the command-line
>      tool psql just fine, without being rejected.
[...]
>   signal(error ("Backend error: FATAL:  Ident authentication failed for user \"user-name\"\n"))

Since pg.el only supports connections via tcp, a possible explanation
of psql's differing behavior could be that pg_hba.conf specifies
different authentication methods for unix domain and network sockets.

E.g., while SuSE used the "trust" method for local tcp connections,
Fedora might be using the "ident" method.

The pg_hba.conf file is documented here:
<http://www.postgresql.org/docs/current/static/client-authentication.html>

regards,
andreas

  reply	other threads:[~2006-10-07 11:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-07 10:14 failure to connect to postgres DB via pg.el Martin Steffen
2006-10-07 11:54 ` Andreas Seltenreich [this message]
2006-10-07 14:55   ` Martin Steffen
     [not found] <mailman.7855.1160216707.9609.help-gnu-emacs@gnu.org>
2006-10-08  2:20 ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874pugqr26.fsf@gate450.dyndns.org \
    --to=seltenreich@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.