X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EEBB7540C9 for ; Fri, 11 Mar 2005 20:08:29 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 53537-08 for ; Fri, 11 Mar 2005 20:08:20 +0000 (GMT) Received: from 9.hellooperator.net (cpc3-cdif2-3-0-cust202.cdif.cable.ntl.com [81.103.32.202]) by svr1.postgresql.org (Postfix) with ESMTP id D89B953D6E for ; Fri, 11 Mar 2005 20:08:14 +0000 (GMT) Received: from [10.4.0.5] (helo=eris.tenfour) by 9.hellooperator.net with esmtp (Exim 4.43) id 1D9qQe-0004fk-VM for pgsql-admin@postgresql.org; Fri, 11 Mar 2005 20:08:15 +0000 Received: from rasputnik by eris.tenfour with local (Exim 4.50 (FreeBSD)) id 1D9qQe-000Lji-RV for pgsql-admin@postgresql.org; Fri, 11 Mar 2005 20:08:12 +0000 Date: Fri, 11 Mar 2005 20:08:12 +0000 From: Dick Davies To: PostgreSQL Admin Subject: Re: [HACKERS] PostgreSQL pam ldap document Message-ID: <20050311200812.GL27608@eris.tenfour> Reply-To: Dick Davies References: <200503111642.j2BGgrL06631@candle.pha.pa.us> <4231DCA6.7020605@musc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4231DCA6.7020605@musc.edu> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.475 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL X-Spam-Level: * X-Archive-Number: 200503/190 X-Sequence-Number: 16688 * Adrian Nida [0307 18:07]: > > >>Here is my attempt at doing so: http://itc.musc.edu/wiki/PostGreSQL > > >I get a "not exists" error on that URL. > Sorry, I renamed the URL after someone pointed out the correct spelling. > This was a link to the old one. I apologize for the confusion, the > right URL is: > > http://itc.musc.edu/wiki/PostgreSQL > > >I assume you looked at: > > http://www.postgresql.org/docs/8.0/interactive/auth-methods.html#AUTH-PAM > >Do you have additions to it? > > Yes, I did look at it. No offense to the original author, but my doc > has a lot more than the four sentences that are there. I was hoping it > would help others in my situation. Again any and all > comments/questions/blah are appreciated. I think the point he's trying to make is that most of your howto is how to setup pg_hba.conf (which is in the docs anyway) and how to set up pam_ldap for a service (which is really a pam howto). It'd be nice if the docs at http://www.postgresql.org/docs/8.0/interactive/auth-methods.html#AUTH-PAM said 'you need to createuser(8) a postgres user too. PAM is only used to validate a username/password pair - the user has to exist in postgres as well.' and it will, once it updates :) -- 'When the door hits you in the ass on the way out, clean off the smudge your ass leaves, please' -- Alien loves Predator Rasputin :: Jack of All Trades - Master of Nuns