Re: LDAP authentication - Mailing list pgsql-general

From evertcarton@netscape.net (Evert Carton)
Subject Re: LDAP authentication
Date
Msg-id 62726f43.0210281553.4495006d@posting.google.com
Whole thread Raw
In response to Re: LDAP authentication  (Ray Hunter <shunter@venticon.com>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: User functions not displayed by \df
Next
From: Savita
Date:
Subject: QUERY ABOUT EXPLAIN ANALYZE