Re: LDAP authentication

From: evertcarton(at)netscape(dot)net (Evert Carton)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: LDAP authentication
Date: 2002-10-28 23:53:07
Message-ID: 62726f43.0210281553.4495006d@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)venticon(dot)com (Ray Hunter) wrote in message news:<1035406530(dot)2775(dot)6(dot)camel(at)pclnxrhunter(dot)digitalglobe(dot)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(at)postgresql(dot)org)
>
> --
> S RAY HUNTER
> email: shunter(at)venticon(dot)com
> email: rhunter(at)venticon(dot)com
> www: http://venticon.com
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Evert Carton 2002-10-28 23:57:43 Re: Thoughts on 7.3b3 in production?
Previous Message Stephan Szabo 2002-10-28 23:41:12 Re: VACUUM FULL not working with persistent connections