pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew Leo <matt@acrcorp.removethis.com>
To: pgsql-questions@postgresql.org
Subject: Re: PostgreSQL
Date: Fri, 26 Nov 1999 18:12:58 -0500
Message-ID: <383F13FA.61B0A5CF@acrcorp.removethis.com> (raw)
References: <7vn13b$bov2@imsp212.netvigator.com>
	<381f33af.499056575@news.earthlink.net>
	<7voii8$eap5@imsp212.netvigator.com>

I'm figuring this stuff out for myself rightnow.  Here's what I've got
so far.

Visit this location to obtain the win32 ODBC driver:
http://www.insightdist.com/psqlodbc.

If you've created your database, make sure you edit the file pg_hba.conf
in your default database directory to include a line allowing
connections from your windows machines over IP (assuming you have a
network 192.168.0.*), for example:

host all  192.168.0.0  255.255.255.0  trust

to give completely unfettered access to everything, ignoring passwords.
Obviously, this is probably more permissive than you really want to be! 
It's a start for config testing.

Assuming this works, be a little less trusing, change the line to:
host all  192.168.0.0  255.255.255.0  password pg_pwd

This requires a password and looks into the file pg_pwd in your database
directory for the password.  You can run the command "pg_passwd pg_pwd"
to set passwords in this file.


That's as far as I've got.  Other methods include kerberos, crypt (no
plaintext password transmitted -- a good idea), and ident (the ident
protocol -- don't know about this one).  If anyone has any knowledge
about integrating with NT domains that would be great.

-Matt



view thread (68+ messages)  latest in thread

Message-ID: <383F13FA.61B0A5CF@acrcorp.removethis.com>
Permalink:  ../383F13FA.61B0A5CF@acrcorp.removethis.com/
Also on:    postgresql.org/message-id/383F13FA.61B0A5CF@acrcorp.removethis.com

 · 

reply

Reply instructions:

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

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: matt@acrcorp.removethis.com, pgsql-questions@postgresql.org
  Subject: Re: PostgreSQL
  In-Reply-To: <383F13FA.61B0A5CF@acrcorp.removethis.com>
  References: <7vn13b$bov2@imsp212.netvigator.com> <381f33af.499056575@news.earthlink.net> <7voii8$eap5@imsp212.netvigator.com> <383F13FA.61B0A5CF@acrcorp.removethis.com>

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

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox