Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 57D1E37BF1F for ; Wed, 8 Oct 2008 19:07:33 -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 45153-05 for ; Wed, 8 Oct 2008 19:07:29 -0300 (ADT) X-Greylist: delayed 00:05:12.459288 by SQLgrey-1.7.6 Received: from dog.comp.uvic.ca (dog.comp.uvic.ca [142.104.5.222]) by postgresql.org (Postfix) with ESMTP id 5E2CD37B9D9 for ; Wed, 8 Oct 2008 19:07:29 -0300 (ADT) Received: from [142.104.191.242] (strike.comp.uvic.ca [142.104.191.242]) by dog.comp.uvic.ca (8.13.8/8.13.8) with ESMTP id m98M2DkW011202 for ; Wed, 8 Oct 2008 15:02:13 -0700 Message-ID: <48ED2DE4.80305@uvic.ca> Date: Wed, 08 Oct 2008 15:02:12 -0700 From: Evan Rempel User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" Subject: LDAP authentication References: <006b01c8b76a$690c0170$14010a0a@dei26g028575> In-Reply-To: <006b01c8b76a$690c0170$14010a0a@dei26g028575> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UVic-Virus-Scanned: OK - Passed virus scan by Sophos (sophie) on dog X-UVic-Spam-Scan: dog.comp.uvic.ca Not_scanned_LOCAL X-Scanned-By: MIMEDefang 2.63 on 142.104.5.91 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200810/64 X-Sequence-Number: 30520 I would like to use password authentication for most users, but LDAP authentication for the remaining ones users, There will be no overlap of login names. I do not really want to create an entry in the pg_hba.conf file for each login. What I would like is something like host all all 142.104.0.0/24 MD5 host all all 142.104.0.0/24 ldap... in hopes that if the account can be authenticated by MD5 local postgresql accounts, then it is, otherwise it will be authenticated by ldap. Is this type of setup possible? Evan Rempel.