pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gémes Géza <geza@kzsdabas.sulinet.hu>
To: Peter Childs <Blue.Dragon@blueyonder.co.uk>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgreSQL users = LDAP users?
Date: Tue, 01 Jul 2003 13:23:07 +0200
Message-ID: <3F016F1B.3040006@kzsdabas.sulinet.hu> (raw)
In-Reply-To: <200307010609.23321.Blue.Dragon@blueyonder.co.uk>
References: <bdn8ht$qtq$1@main.gmane.org>
	<20030630223904.GC18332@sch01r01.nexit.nl>
	<200307010609.23321.Blue.Dragon@blueyonder.co.uk>

Peter Childs írta:

>On Monday 30 June 2003 23:39, Hans Spaans wrote:
>  
>
>>On Sun, Jun 29, 2003 at 07:44:50PM +0200, Daniel Seichter wrote:
>>    
>>
>>>Hello,
>>>is it possible, to create all users of the databaseserver through LDAP?
>>>An schema extension is maybe required, but is it possible, yes or no?!
>>>If yes, where to find more information?
>>>      
>>>
>>We have pg using pam and pam uses ldap. It's just all standard
>>pam/ldap stuff so it shouldn't be any problem. And there are plenty
>>manuals about pam and ldap.
>>    
>>
>
>	In that case can somone surgest some good documentation on ldap and pam. As 
>I've been try to set it up for months unsucsessfully.....
>	All the web sites I've seen are a little uncomprohensable. 
>	Sorry this is a little off topic.
>
>Peter Childs
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>               http://archives.postgresql.org
>  
>
Look at this
http://www.mandrakesecure.net/en/docs/samba-ldap-advanced.php
http://www.mandrakesecure.net/en/docs/ldap-auth2.php
if you only want to sync users, and not any information regarding them. 
If you would want more then:
You'll have to use the ODBC based sql backend for ldap (VERY SLOW ), and 
connect using postgres, or whatever your database superuser is. You will 
need to create some tables and views, tables containing ldap specific 
things, see: http://www.samse.fr/GPL/ldap_pg/HOWTO/
and views which unify the former with pg_shadow information.

I wish you the best luck in succeeding this !

Best Regards

Geza Gemes

Attachments:

frown_n.gif (image/gif, 189B) download view image
wink_n.gif (image/gif, 139B) download view image

view thread (5+ messages)  latest in thread

Message-ID: <3F016F1B.3040006@kzsdabas.sulinet.hu>
Permalink:  ../3F016F1B.3040006@kzsdabas.sulinet.hu/
Also on:    postgresql.org/message-id/3F016F1B.3040006@kzsdabas.sulinet.hu

 · 

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-admin@postgresql.org
  Cc: geza@kzsdabas.sulinet.hu, Blue.Dragon@blueyonder.co.uk
  Subject: Re: postgreSQL users = LDAP users?
  In-Reply-To: <3F016F1B.3040006@kzsdabas.sulinet.hu>
  References: <bdn8ht$qtq$1@main.gmane.org> <20030630223904.GC18332@sch01r01.nexit.nl> <200307010609.23321.Blue.Dragon@blueyonder.co.uk> <3F016F1B.3040006@kzsdabas.sulinet.hu>

* 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