pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedLDAP security connection
6+ messages / 5 participants
[nested] [flat]
* LDAP security connection
@ 2019-04-12 07:57 Pierre Ochsenbein <pierreochsenbein@gmail.com>
2019-04-12 08:17 ` Re: LDAP security connection Ilya Kosmodemiansky <hydrobiont@gmail.com>
2019-04-13 21:47 ` Re: LDAP security connection bricklen <bricklen@gmail.com>
2019-04-18 11:27 ` Re: LDAP security connection Shreeyansh Dba <shreeyansh2014@gmail.com>
0 siblings, 3 replies; 6+ messages in thread
From: Pierre Ochsenbein @ 2019-04-12 07:57 UTC (permalink / raw)
To: pgsql-admin
Dear community
I would like to create a connection security to PostgreSQL from Active
Directory with auth LDAP.
Have you some recommendation for make this steps?
Have a great Friday
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: LDAP security connection
2019-04-12 07:57 LDAP security connection Pierre Ochsenbein <pierreochsenbein@gmail.com>
@ 2019-04-12 08:17 ` Ilya Kosmodemiansky <hydrobiont@gmail.com>
2019-04-13 05:13 ` Re: LDAP security connection Holger Jakobs <holger@jakobs.com>
2 siblings, 1 reply; 6+ messages in thread
From: Ilya Kosmodemiansky @ 2019-04-12 08:17 UTC (permalink / raw)
To: Pierre Ochsenbein <pierreochsenbein@gmail.com>; +Cc: pgsql-admin
Hi Pierre
in general, there is nothing too complicated -
https://www.postgresql.org/docs/11/auth-ldap.html because LDAP is just
an authentication method.
Details could be more tricky, but for that more details on your
requirements needed - do you use pgbouncer, do you need to sync roles
from AD etc.
best regards,
Ilya
On Fri, Apr 12, 2019 at 9:58 AM Pierre Ochsenbein
<pierreochsenbein@gmail.com> wrote:
>
> Dear community
>
> I would like to create a connection security to PostgreSQL from Active Directory with auth LDAP.
> Have you some recommendation for make this steps?
>
> Have a great Friday
>
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: LDAP security connection
2019-04-12 07:57 LDAP security connection Pierre Ochsenbein <pierreochsenbein@gmail.com>
2019-04-12 08:17 ` Re: LDAP security connection Ilya Kosmodemiansky <hydrobiont@gmail.com>
@ 2019-04-13 05:13 ` Holger Jakobs <holger@jakobs.com>
2019-04-13 07:02 ` Re: LDAP security connection Pierre Ochsenbein <pierreochsenbein@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Holger Jakobs @ 2019-04-13 05:13 UTC (permalink / raw)
To: pgsql-admin@lists.postgresql.org,Ilya Kosmodemiansky <hydrobiont@gmail.com>; Pierre Ochsenbein <pierreochsenbein@gmail.com>; +Cc: pgsql-admin
If you run PostgreSQL on Windows (don't know whether and how it works on other OS), writing sspi instead of md5 in pg_hba.conf is sufficient to connect it to Active Directory.
Add a pg_ident file to match PG users with AD users an you are done.
Regards,
Holger
Am 12. April 2019 10:17:52 MESZ schrieb Ilya Kosmodemiansky <hydrobiont@gmail.com>:
>Hi Pierre
>
>in general, there is nothing too complicated -
>https://www.postgresql.org/docs/11/auth-ldap.html because LDAP is just
>an authentication method.
>
>Details could be more tricky, but for that more details on your
>requirements needed - do you use pgbouncer, do you need to sync roles
>from AD etc.
>
>best regards,
>Ilya
>
>On Fri, Apr 12, 2019 at 9:58 AM Pierre Ochsenbein
><pierreochsenbein@gmail.com> wrote:
>>
>> Dear community
>>
>> I would like to create a connection security to PostgreSQL from
>Active Directory with auth LDAP.
>> Have you some recommendation for make this steps?
>>
>> Have a great Friday
>>
>>
--
Holger Jakobs, Bergisch Gladbach
+49 178 9759012
- sent from mobile, therefore short -
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: LDAP security connection
2019-04-12 07:57 LDAP security connection Pierre Ochsenbein <pierreochsenbein@gmail.com>
2019-04-12 08:17 ` Re: LDAP security connection Ilya Kosmodemiansky <hydrobiont@gmail.com>
2019-04-13 05:13 ` Re: LDAP security connection Holger Jakobs <holger@jakobs.com>
@ 2019-04-13 07:02 ` Pierre Ochsenbein <pierreochsenbein@gmail.com>
0 siblings, 0 replies; 6+ messages in thread
From: Pierre Ochsenbein @ 2019-04-13 07:02 UTC (permalink / raw)
To: Holger Jakobs <holger@jakobs.com>; +Cc: pgsql-admin@lists.postgresql.org, Ilya Kosmodemiansky <hydrobiont@gmail.com>; pgsql-admin
Hmm... windows? What it is? :D
PGSQL run in RHV
> Le 13 avr. 2019 à 07:13, Holger Jakobs <holger@jakobs.com> a écrit :
>
> If you run PostgreSQL on Windows (don't know whether and how it works on other OS), writing sspi instead of md5 in pg_hba.conf is sufficient to connect it to Active Directory.
>
> Add a pg_ident file to match PG users with AD users an you are done.
>
> Regards,
> Holger
>
> Am 12. April 2019 10:17:52 MESZ schrieb Ilya Kosmodemiansky <hydrobiont@gmail.com>:
>> Hi Pierre
>>
>> in general, there is nothing too complicated -
>> https://www.postgresql.org/docs/11/auth-ldap.html because LDAP is just
>> an authentication method.
>>
>> Details could be more tricky, but for that more details on your
>> requirements needed - do you use pgbouncer, do you need to sync roles
>> from AD etc.
>>
>> best regards,
>> Ilya
>>
>> On Fri, Apr 12, 2019 at 9:58 AM Pierre Ochsenbein
>> <pierreochsenbein@gmail.com> wrote:
>>>
>>> Dear community
>>>
>>> I would like to create a connection security to PostgreSQL from
>> Active Directory with auth LDAP.
>>> Have you some recommendation for make this steps?
>>>
>>> Have a great Friday
>>>
>>>
>
> --
> Holger Jakobs, Bergisch Gladbach
> +49 178 9759012
> - sent from mobile, therefore short -
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: LDAP security connection
2019-04-12 07:57 LDAP security connection Pierre Ochsenbein <pierreochsenbein@gmail.com>
@ 2019-04-13 21:47 ` bricklen <bricklen@gmail.com>
2 siblings, 0 replies; 6+ messages in thread
From: bricklen @ 2019-04-13 21:47 UTC (permalink / raw)
To: Pierre Ochsenbein <pierreochsenbein@gmail.com>; +Cc: pgsql-admin
On Fri, Apr 12, 2019 at 12:58 AM Pierre Ochsenbein <
pierreochsenbein@gmail.com> wrote:
> I would like to create a connection security to PostgreSQL from Active
> Directory with auth LDAP.
> Have you some recommendation for make this steps?
>
Stephen Frost wrote a blog post recently about using Active Directory with
Postgres, which may be useful to you:
https://info.crunchydata.com/blog/windows-active-directory-postgresql-gssapi-kerberos-authentication
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: LDAP security connection
2019-04-12 07:57 LDAP security connection Pierre Ochsenbein <pierreochsenbein@gmail.com>
@ 2019-04-18 11:27 ` Shreeyansh Dba <shreeyansh2014@gmail.com>
2 siblings, 0 replies; 6+ messages in thread
From: Shreeyansh Dba @ 2019-04-18 11:27 UTC (permalink / raw)
To: Pierre Ochsenbein <pierreochsenbein@gmail.com>; +Cc: pgsql-admin
Hi Pierre,
Go through below link hope this will help you.
https://blog.dbi-services.com/syncing-active-directory-users-and-groups-to-postgresql/
Thanks & Regards,
*Shreeyansh DBA Team*
www.shreeyansh.com
On Fri, Apr 12, 2019 at 1:28 PM Pierre Ochsenbein <
pierreochsenbein@gmail.com> wrote:
> Dear community
>
> I would like to create a connection security to PostgreSQL from Active
> Directory with auth LDAP.
> Have you some recommendation for make this steps?
>
> Have a great Friday
>
>
>
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2019-04-18 11:27 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-04-12 07:57 LDAP security connection Pierre Ochsenbein <pierreochsenbein@gmail.com>
2019-04-12 08:17 ` Ilya Kosmodemiansky <hydrobiont@gmail.com>
2019-04-13 05:13 ` Holger Jakobs <holger@jakobs.com>
2019-04-13 07:02 ` Pierre Ochsenbein <pierreochsenbein@gmail.com>
2019-04-13 21:47 ` bricklen <bricklen@gmail.com>
2019-04-18 11:27 ` Shreeyansh Dba <shreeyansh2014@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox