Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7GBB-0002ab-9X for pgsql-general@arkaria.postgresql.org; Mon, 09 Sep 2019 09:41:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i7GB9-0002to-QX for pgsql-general@arkaria.postgresql.org; Mon, 09 Sep 2019 09:41:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7GB9-0002md-9M for pgsql-general@lists.postgresql.org; Mon, 09 Sep 2019 09:41:47 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7GB5-0003mS-94 for pgsql-general@lists.postgresql.org; Mon, 09 Sep 2019 09:41:46 +0000 Received: by mail-wm1-x342.google.com with SMTP id t9so13807258wmi.5 for ; Mon, 09 Sep 2019 02:41:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=x7M+My5B3CmfLY34zuyjxNX7XZlI8wbXJJNjHC0PlBU=; b=vuuXrObombpScBX9E5u4qKa3xX7kyj0Ic48iw3EKH0JNDOotZ9lFd9sbGlDlvjXk+S Qfu4KhbjDSbi8LSXXs4k2Aie/dQCQaeKBIQp9lCD/On/xne9bye1TqtsUirzgVWWQtkk RKagmvjL877aMisHVS6LWTqTxR0Y7DLiuUl3dvKcaO9ahSU9UB8u4kHXUleQvH2Aov0b fcqoV/X8onDQnokh/fBxK7kfDAvcANhsKxfKqfl5wjeFNEdHKbQKmI5VFl3TUVaoCdCG oC9yU0lmjDn3mCHAzJpM4qAuI9NcBwI2/1HkHLDAllwg/y+QdFij35Y7tjBEVD8vVhS5 aiRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=x7M+My5B3CmfLY34zuyjxNX7XZlI8wbXJJNjHC0PlBU=; b=q0/w+JkmxZJ1CBymSD0v74zoR0RYu+j1KKUmo/VviCyre2WRi3VBHQmk4FZLaR8wA1 beuVyf6cubD6sO56WE7GtSsOUO0hnudt+3RjGT4T6JztAMqydr9ofMSvi5pk2OKkB7JV G8Y4ovNZsPnorZtIVLD8hGwvcs4NIJfzTBAi9IwnYl3K5glAE6gPHKE0qBWp1cV365Ns 8Xn0xNA4AwcrzvdUkuSYK+4bYR45Pd+obAzE9aVSfxsltj+A5Va5kNvKi3L6KZJtDEUu 8Tz0pUYNx/zwGKE+8chSdkMhg54HQWYSgWDF1GT6AdzwF5F2k/L2dOru3DKGXSugm8lb Hf5A== X-Gm-Message-State: APjAAAUfB7+5LtPO/S0GM9uOXeA8LBvtGOuQp1YQlshaAEgkk/z6GaBD XcEfJIMaJJKPrPtHwlwOTUaE7w== X-Google-Smtp-Source: APXvYqx1wyLIr5X3on7dxglDU9hGeG8FhthxGSHMwcDj2tBG5Q3cI0Qj+3w7Xn2Tp+5zLv3/Z3OeYA== X-Received: by 2002:a1c:a552:: with SMTP id o79mr17837201wme.91.1568022101747; Mon, 09 Sep 2019 02:41:41 -0700 (PDT) Received: from localhost.localdomain ([212.186.219.234]) by smtp.gmail.com with ESMTPSA id c3sm18715723wrh.55.2019.09.09.02.41.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 02:41:41 -0700 (PDT) Message-ID: Subject: Re: pgbouncer with ldap From: Laurenz Albe To: Christoph Moench-Tegeder , Ayub M Cc: pgsql-general@lists.postgresql.org Date: Mon, 09 Sep 2019 11:41:40 +0200 In-Reply-To: <20190909080358.GB2404@elch.exwg.net> References: <20190909074003.GA2404@elch.exwg.net> <20190909080358.GB2404@elch.exwg.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Christoph Moench-Tegeder wrote: > > It has hba and via hba file one can specify ldap connections > > > > https://www.postgresql.org/docs/9.3/auth-pg-hba-conf.html > > https://pgbouncer.github.io/config.html#hba-file-format > "Auth-method field: Only methods supported by PgBouncer’s auth_type > are supported", and "ldap" is not supported. > When there's no ldap support in pgbouncer, there's no ldap support > in pgbouncer. To throw in something less tautological: PgBouncer supports PAM authentication, so if you are on UNIX, you could use PAM's LDAP module to do what you want. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com