Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 93EC4632404 for ; Fri, 9 Jan 2009 17:20:31 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 79009-08 for ; Fri, 9 Jan 2009 17:20:26 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from col0-omc1-s2.col0.hotmail.com (col0-omc1-s2.col0.hotmail.com [65.55.34.12]) by mail.postgresql.org (Postfix) with ESMTP id B37D7632401 for ; Fri, 9 Jan 2009 17:20:15 -0400 (AST) Received: from COL120-W60 ([65.55.34.8]) by col0-omc1-s2.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 9 Jan 2009 13:20:14 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_a6afc967-57a6-4e27-9a6b-a21af6d80b9b_" X-Originating-IP: [66.160.12.194] From: dx k9 To: posgres support Subject: initdb Q rewritten please remove or ignore my last email Date: Fri, 9 Jan 2009 16:20:14 -0500 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 09 Jan 2009 21:20:14.0450 (UTC) FILETIME=[0FF02520:01C972A0] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200901/28 X-Sequence-Number: 31075 --_a6afc967-57a6-4e27-9a6b-a21af6d80b9b_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi=2C I recently initdb'd with pwfile to create a new instance. The command is b= elow. As the postgres user on the local server. /usr/local/pgsql.v835/bin/initdb --pwfile=3D/home/postgres/pgp -D /data/Lin= ux.pgsql/serray5432 -E UTF8 I nromally use PAM as my METHOD in my hba files to allow ldap users and it wo= rks fine. Then again=2C I normally don't initialize with --pwfile(wish I wouldn't have). =20 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=2C 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. =20 Normally=2C when I add ldap users(new to the instance)=2C I add a new log= in via pgadmin with out a password. That works fine=2C but not now. =20 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 mes= s? =20 Or is re-initializing the db with out the --pwfile option my best bet? The onl= y 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=2C but then I'm not using LDAP=2C which is what I want. It is configured --with PAM ./configure --prefix=3D/usr/local/pgsql.v835 --with-includes=3D/usr/local/o= penssl-fips-1.2/include:/usr/local/include --with-libraries=3D/usr/local/op= enssl-fips-1.2/lib:/usr/local/lib --with-pam --with-openssl --with-pgport= =3D5489 --with-perl =20 Thanks for any insight=2C ~DjK _________________________________________________________________ Windows Live=99: Keep your life in sync.=20 http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_t1_allup_explore_012009= --_a6afc967-57a6-4e27-9a6b-a21af6d80b9b_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi=2C

I recently initdb'd with pwfile to create a new instance. = =3B The command is below.
As the postgres user on the local server.
/usr/local/pgsql.v835/bin/initdb --pwfile=3D/home/postgres/pgp -D /data/Lin= ux.pgsql/serray5432 -E UTF8


I nromally use PAM as my METHOD in my hba files to allow ldap users and it wo= rks fine. =3B Then again=2C I normally don't initialize with --pwfile(wish I wouldn't have). =3B
=
Using --pwfile seems to have disabled my ability to use LDAP. =3B I also noti= ced the postgres user shows a MD5 hash in it's properties=2C which indicates it= 's using MD5(I would expect that since I initialized it with a password.&nb= sp=3B  =3B I don't remember -W having that affect though.  =3B

Normally=2C when I add ldap users(new to the instance)=2C =3B I=  =3B add a new login via pgadmin with out a password. =3B That works fine=2C but not now.  =3B =3B

Is it a known bug that initializing the db wi= th --pwfile can cause pam not to allow ldap communications or is that by design ?  =3B =3B Is= there someway I can get ldap functioning again through PAM to get out of this mes= s? =3B
Or is re-initializing the db with out the --pwfile option my best bet?  =3B&n= bsp=3B The only thing I can think of is to specifically use ldap in the hba file instead of pam and see if that works. =3B I can get my new users to work by just addin= g the password=2C but then I'm not using LDAP=2C which is what I want.
It is configured --with PAM
./configure --prefix=3D/usr/local/pgsql.v83= 5 --with-includes=3D/usr/local/openssl-fips-1.2/include:/usr/local/include = --with-libraries=3D/usr/local/openssl-fips-1.2/lib:/usr/local/lib --with-pa= m --with-openssl --with-pgport=3D5489 --with-perl
 =3B
Thanks for= any insight=2C
~DjK

Windows Live=99: Keep your life in sync.= Check it out. = --_a6afc967-57a6-4e27-9a6b-a21af6d80b9b_--