pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: evertcarton@netscape.net
To: pgsql-general@postgresql.org
Subject: Re: LDAP authentication
Date: 28 Oct 2002 15:53:07 -0800
Message-ID: <62726f43.0210281553.4495006d@posting.google.com> (raw)
References: <1035406530.2775.6.camel@pclnxrhunter.digitalglobe.com>

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:<camel@pclnxrhunter.digitalglobe.com/">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



view thread (30+ messages)  latest in thread

Message-ID: <62726f43.0210281553.4495006d@posting.google.com>
Permalink:  ../62726f43.0210281553.4495006d@posting.google.com/
Also on:    postgresql.org/message-id/62726f43.0210281553.4495006d@posting.google.com

 · 

reply

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-general@postgresql.org
  Cc: evertcarton@netscape.net
  Subject: Re: LDAP authentication
  In-Reply-To: <62726f43.0210281553.4495006d@posting.google.com>
  References: <1035406530.2775.6.camel@pclnxrhunter.digitalglobe.com> <62726f43.0210281553.4495006d@posting.google.com>

* 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