LDAP auth

From: Pierre Ochsenbein <pierreochsenbein(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: LDAP auth
Date: 2019-06-19 11:36:48
Message-ID: CABG8FoMqBzOWBASWThxPnsu+yuhwR1mSUr+3BXoQKHH5gN27aA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi

I'm running on PostgreSQL 10.6 and would like to connect with LDAP users
I have sync all users from my group in my database and I can find users :-)

hostssl all all 10.1.1.0/24 ldap
ldapurl="ldap://ldap.local/OU=ASA,OU=Forest%20Admin%20Accounts%20%26%20Roles,DC=ASATL,DC=NET?sAMAccountName?sub"
ldaptls=1 ldapbinddn="CN=POSTGRES,OU=Service Accounts,OU=Global,OU=Member
Servers,DC=PMINTL,DC=NET" ldapbindpasswd='password001'

What is the best way to put the LDAP query in pg_hba? I think the error
comes from here

Thanks
Pierre

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Stephen Frost 2019-06-19 15:14:50 Re: LDAP auth
Previous Message Alvaro Herrera 2019-06-16 18:12:56 Re: I want the elephant back