From: dx k9 <bitsandbytes88@hotmail.com>
To: posgres support <pgsql-admin@postgresql.org>
Subject: initdb Q rewritten please remove or ignore my last email
Date: Fri, 9 Jan 2009 16:20:14 -0500
Message-ID: <COL120-W60D3B091E818FD36815D08D1DD0@phx.gbl> (raw)
Hi,
I recently initdb'd with pwfile to create a new instance. The command is below.
As the postgres user on the local server.
/usr/local/pgsql.v835/bin/initdb --pwfile=/home/postgres/pgp -D /data/Linux.pgsql/serray5432 -E UTF8
I
nromally use PAM as my METHOD in my hba files to allow ldap users and it works fine. Then again, I
normally don't initialize with --pwfile(wish I wouldn't have).
Using
--pwfile seems to have disabled my ability to use LDAP. I also noticed
the postgres user shows a MD5 hash in it's properties, which indicates it's using MD5(I would expect that since I initialized it with a password. I don't remember -W having that affect though.
Normally, when I add ldap users(new to the instance), I add a new login
via pgadmin with out a password. That works fine, but not
now.
Is it a known bug that initializing the db with --pwfile can cause pam
not to allow ldap communications or is that by design ? Is there
someway I can get ldap functioning again through PAM to get out of this mess?
Or is
re-initializing the db with out the --pwfile option my best bet? The only thing I
can think of is to specifically use ldap in the hba file instead of pam
and see if that works. I can get my new users to work by just adding
the password, but then I'm not using LDAP, which is what I want.
It is configured --with PAM
./configure --prefix=/usr/local/pgsql.v835 --with-includes=/usr/local/openssl-fips-1.2/include:/usr/local/include --with-libraries=/usr/local/openssl-fips-1.2/lib:/usr/local/lib --with-pam --with-openssl --with-pgport=5489 --with-perl
Thanks for any insight,
~DjK
_________________________________________________________________
Windows Liveā¢: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009=
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-admin@postgresql.org
Cc: bitsandbytes88@hotmail.com
Subject: Re: initdb Q rewritten please remove or ignore my last email
In-Reply-To: <COL120-W60D3B091E818FD36815D08D1DD0@phx.gbl>
References: <COL120-W60D3B091E818FD36815D08D1DD0@phx.gbl>
* 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