Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 032BC475FB7 for ; Mon, 28 Oct 2002 23:05:46 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 7FA0C475458 for ; Mon, 28 Oct 2002 23:05:45 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id 2302938169E; Mon, 28 Oct 2002 23:05:42 -0500 (EST) From: evertcarton@netscape.net (Evert Carton) X-Newsgroups: comp.databases.postgresql.general, comp.databases.postgresql.questions Subject: Re: LDAP authentication Date: 28 Oct 2002 15:53:07 -0800 Organization: http://groups.google.com/ Lines: 45 Message-ID: <62726f43.0210281553.4495006d@posting.google.com> References: <1035406530.2775.6.camel@pclnxrhunter.digitalglobe.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-general@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/1258 X-Sequence-Number: 32256 It is true that you have to create the users on PostGreSQL level too. But once they are created on PG-level, PAM does work fine. I had the same problem. I create a utility that synchronises the postgresql users/groups with LDAP. It is not done automatically. You have to invoke a function for it. It is pretty ugly for the moment, it was my first experience writing C-functions for PostGreSQL. I am rewriting it for PostGreSQL 7.3b2, which has a way nicer API for outputting tables in C. It does indeed consist of some C and some PLPGSQL functions. If you're interested, please shoot me an email ... Evert shunter@venticon.com (Ray Hunter) wrote in message news:<1035406530.2775.6.camel@pclnxrhunter.digitalglobe.com>... > I have used LDAP authentication with PHP. It works really well..I have > even done it with using MS domain controllers to.... > > > > On Wed, 2002-10-23 at 13:38, Richard Ray wrote: > > Does anyone know if anyone has tried to use LDAP for authentication? > > The management here is insisting on it. I'll write it from scratch if > > neccassary. Any hints or pointers are appreciated. > > > > Thanks > > Richard > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 2: you can get off all lists at once with the unregister command > > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > > -- > S RAY HUNTER > email: shunter@venticon.com > email: rhunter@venticon.com > www: http://venticon.com > > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster