Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0814E650E85 for ; Thu, 3 Jul 2008 22:31:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 47558-08 for ; Thu, 3 Jul 2008 22:31:32 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from depot.mtholyoke.edu (depot.mtholyoke.edu [138.110.1.83]) by postgresql.org (Postfix) with ESMTP id 3804264FD64 for ; Thu, 3 Jul 2008 22:31:36 -0300 (ADT) Received: from ice.mtholyoke.edu (ice.mtholyoke.edu [138.110.1.25]) by depot.mtholyoke.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m641YApW032050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 3 Jul 2008 21:34:10 -0400 Received: from chip.mtholyoke.edu (chip.mtholyoke.edu [138.110.1.70]) by ice.mtholyoke.edu (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id m641VNnd018927 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 3 Jul 2008 21:31:23 -0400 Received: from chip.mtholyoke.edu (rpeterso@localhost [127.0.0.1]) by chip.mtholyoke.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m641VNES022023 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 3 Jul 2008 21:31:23 -0400 Received: (from rpeterso@localhost) by chip.mtholyoke.edu (8.13.8/8.13.8/Submit) id m641VN6u022020 for pgsql-general@postgresql.org; Thu, 3 Jul 2008 21:31:23 -0400 From: Ron Peterson Date: Thu, 3 Jul 2008 21:31:23 -0400 To: pgsql-general@postgresql.org Subject: Re: LDAP Authentication Message-ID: <20080704013123.GE6083@mtholyoke.edu> Mail-Followup-To: pgsql-general@postgresql.org References: <6e4906da0806290644q40ab3253p27b83488861f66d2@mail.gmail.com> <20080704011750.GC6083@mtholyoke.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080704011750.GC6083@mtholyoke.edu> Organization: Mount Holyoke College X-Operating-System: Debian GNU/Linux User-Agent: Mutt/1.5.13 (2006-08-11) X-Scanned-By: MIMEDefang 2.62 on 138.110.1.180 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.025 tagged_above=0 required=5 tests=AWL=0.025 X-Spam-Level: X-Archive-Number: 200807/175 X-Sequence-Number: 134754 2008-07-03_21:17:50-0400 Ron Peterson : > 2008-06-29_09:44:01-0400 Taha Ozket : > > > I have a ldap group, "pgsql-developers". I have an user (user1) member > > of this group; > > ... > > How can I change this line for give login permission to > > pgsql-developers members? > > If you have pam available, you could do pam authentication, and > configure pam_ldap to enforce group membership. ps - FWIW, I typically make group membership an attribute of the user object itself, rather than maintain groups objects and user objects separately. Primarily because many apps aren't sophisticated enough to deal with having them separated. -- Ron Peterson Network & Systems Manager Mount Holyoke College http://www.mtholyoke.edu/~rpeterso - I wish my computer would do what I want it to do - not what I tell it to do.