authentication

Поиск
Список
Период
Сортировка
Искать
От
Chris Faulkner
Тема
authentication
Дата
Msg-id
DGENKIKMJILAAKJGFHKFGENMCHAA.chrisf@oramap.com
Список
Дерево обсуждения
authentication "Chris Faulkner" <chrisf@oramap.com>
Re: authentication Barry Lind <blind@xythos.com>
Re: authentication "Chris Faulkner" <chrisf@oramap.com>
Re: [CYGWIN] authentication Peter Eisentraut <peter_e@gmx.net>
Re: [CYGWIN] authentication "Chris Faulkner" <chrisf@oramap.com>
Re: [CYGWIN] authentication Tom Lane <tgl@sss.pgh.pa.us>
Re: [CYGWIN] authentication "Chris Faulkner" <chrisf@oramap.com>
Re: [CYGWIN] authentication Peter Eisentraut <peter_e@gmx.net>
Re: [CYGWIN] authentication Peter Eisentraut <peter_e@gmx.net>
Hello

I am using postgres in the cygwin environment. I have two services set up -
one launches it with no networking and one with networking so that it runs
on port 5432. Both are fine in terms of the service and I can connect with
psql with both. However, I need to connect with a JDBC connection. I can get
the JDBC connection to work with networking but not without. SInce my Java
app always runs locally, I would like to leave the networking off.

The connection parameter for networking (all OK with this one)


With no networking, it is as follows (doesn't connect)


I have read threads elsewhere which seem to suggest that it can be made to
work like this - any ideas anyone ?

The second part to this is about authentication. I would like to connect
with a low-privileged user, but all users should use a password. This is my
only entry in /usr/share/postgresql/pg_hba.conf

# TYPE	DATABASE	USER	IP-ADDRESS	IP-MASK		METHOD
local		all		all						password

WHatever change I make to this, psql never prompts when running on the same
machine. Does cygwin support pg_hba.conf ? If I use psql with -U and -W, I
get prompted for a password but it lets me in whatever I type.

Thanks for ANY help or pointers.

Chris





В списке pgsql-jdbc по дате отправления
От: Barry Lind
Дата:
От: Barry Lind
Дата:
Сообщение: Re: authentication
FAQ