Re: PostgreSQL

From: Matthew Leo <matt(at)acrcorp(dot)removethis(dot)com>
To: pgsql-questions(at)postgresql(dot)org
Subject: Re: PostgreSQL
Date: 1999-11-26 23:12:58
Message-ID: 383F13FA.61B0A5CF@acrcorp.removethis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 1999-11-27 01:06:39 Re: [GENERAL] can I do this.
Previous Message Lamar Owen 1999-11-26 21:51:55 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions