pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marcus Vinicius Castro <marcus_castro@yahoo.com.br>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
To: mu88 <mu88+dev@posteo.eu>
Subject: Re: Seed pgAdmin roles with Active Directory groups when using Docker
Date: Mon, 25 Sep 2023 14:18:17 +0000 (UTC)
Message-ID: <1530634129.5400509.1695651497538@mail.yahoo.com> (raw)
In-Reply-To: <28c7d917-d9fe-4d8b-aee1-5764190d9e5e@posteo.eu>
References: <28c7d917-d9fe-4d8b-aee1-5764190d9e5e@posteo.eu>

 My friend, I didn't use this feature yet. but, I believe that you can write PowerShell script to help with that.
I used PowerShell to set up my containers.
Best regards.



Marcus Henriques

Desenvolvedor – Spassu Tecnologia


Tel: + 55 (21) 98065-7785




 

 
 

    Em segunda-feira, 25 de setembro de 2023 às 08:02:32 BRT, mu88 <mu88+dev@posteo.eu> escreveu:  
 
    Hi, 
 
I want to setup a pgAdmin instance for our team using the Docker deployment. As our organization uses Active Directory, I'd like to assign the pgAdmin User role to a specific AD group when starting the pgAdmin Docker container. 
 
Within the docs I already found the option to use pgAdmin with LDAP, so hopefully accessing our AD should work. 
 
What I didn't find: is it possible to assign a pgAdmin role to an AD group or only to AD users? And if yes, can this automatically happen on Docker container start (e. g. by using an environment variable or a config file similar to servers.json)? 
 
Or put in other words: is it possible that it looks like this after container start only by configuration without any manual interaction?  
 
Best regards! 
 
PS: you find this question here as well: https://dba.stackexchange.com/questions/331385/seed-pgadmin-roles-with-active-directory-groups-when-... 
    

view thread (4+ messages)

Message-ID: <1530634129.5400509.1695651497538@mail.yahoo.com>
Permalink:  ../1530634129.5400509.1695651497538@mail.yahoo.com/
Also on:    postgresql.org/message-id/1530634129.5400509.1695651497538@mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: marcus_castro@yahoo.com.br, pgsql-admin@lists.postgresql.org, mu88+dev@posteo.eu
  Subject: Re: Seed pgAdmin roles with Active Directory groups when using Docker
  In-Reply-To: <1530634129.5400509.1695651497538@mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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