X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id C2CBD310C3E for ; Tue, 1 Jul 2003 11:23:26 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 39722-09 for ; Tue, 1 Jul 2003 08:23:16 -0300 (ADT) Received: from mail.kzsdabas.sulinet.hu (comp11.kzsdabas.sulinet.hu [195.199.4.11]) by svr1.postgresql.org (Postfix) with ESMTP id CBFF0310C57 for ; Tue, 1 Jul 2003 08:23:14 -0300 (ADT) Received: from kzsdabas.sulinet.hu (unknown [192.168.0.254]) by mail.kzsdabas.sulinet.hu (Postfix) with ESMTP id 38FE21FDB; Tue, 1 Jul 2003 07:17:57 -0400 (EDT) Message-ID: <3F016F1B.3040006@kzsdabas.sulinet.hu> Date: Tue, 01 Jul 2003 13:23:07 +0200 From: =?ISO-8859-1?Q?G=E9mes_G=E9za?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.3) Gecko/20030313 X-Accept-Language: hu, en-US MIME-Version: 1.0 To: Peter Childs Cc: pgsql-admin@postgresql.org Subject: Re: postgreSQL users = LDAP users? References: <20030630223904.GC18332@sch01r01.nexit.nl> <200307010609.23321.Blue.Dragon@blueyonder.co.uk> In-Reply-To: <200307010609.23321.Blue.Dragon@blueyonder.co.uk> Content-Type: multipart/alternative; boundary="------------070404050308030508080600" X-Archive-Number: 200307/12 X-Sequence-Number: 9353 This is a multi-part message in MIME format. --------------070404050308030508080600 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 --------------070404050308030508080600 Content-Type: multipart/related; boundary="------------060508000006050906060809" --------------060508000006050906060809 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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

--------------060508000006050906060809 Content-Type: image/gif; name="frown_n.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="frown_n.gif" R0lGODlhEwATALMAAP//AMzMAJmZAGZmADMzAMzMM////zMzMwAAAP///wAA AAAAAAAAAAAAAAAAAAAAACH5BAEAAAkALAAAAAATABMAAARqMMmJqkUzUxSA 90GlSZyHfCcQainQmijVIUf91ZWKJamAGIYCYABECEy8jsmAEBKYR1DuE2oC ChWl6TX8eKIornccHl8s5pdx7PNmPYRPYf6J63jkPDKpH69IfW4sWmR/LCVe VSMZZyIaEQA7 --------------060508000006050906060809 Content-Type: image/gif; name="wink_n.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="wink_n.gif" R0lGODlhEwATAKIAAP//AMzMADMzAP///wAAAP///wAAAAAAACH5BAEAAAUA LAAAAAATABMAAANQWLrUTisyEoC1oUlFr8dQRHykFRZd+WWcJYyqiVbEMMAm DmRw3eS63OUXExZJxKMniSw1aM4kq/dhAkKpB0GwOuEeSEmqxNo8u6cNSptW JAAAOw== --------------060508000006050906060809-- --------------070404050308030508080600--