[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-admin
Subject:    Re: Seed pgAdmin roles with Active Directory groups when using Docker
From:       Marcus Vinicius Castro <marcus_castro () yahoo ! com ! br>
Date:       2023-09-25 14:18:17
Message-ID: 1530634129.5400509.1695651497538 () mail ! yahoo ! com
[Download RAW message or body]

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-using-docker \
  


[Attachment #3 (text/html)]

<html><head></head><body><div class="ydpbd1a8f18yahoo-style-wrap" \
style="font-family:Helvetica Neue, Helvetica, Arial, \
sans-serif;font-size:16px;"><div><div dir="ltr" data-setdir="false"> <div><div>My \
friend, I didn't use this feature yet. but, I believe that you can write PowerShell \
script to help with that.</div><div><br></div><div dir="ltr" data-setdir="false">I \
used PowerShell to set up my containers.</div><div><br></div><div>Best \
regards.</div></div><br></div><div><br></div><div class="ydpbd1a8f18signature"><div \
style="font-family:Helvetica, Arial, sans-serif;font-size:16px;"><p \
dir="ltr"></p><div><div \
style="margin-right:0cm;margin-left:5.65pt;font-size:12pt;font-family:New \
serif;"><b><span style="font-size:10pt;font-family:inherit;color:rgb(0, 32, \
96);border:1pt none windowtext;padding:0cm;">Marcus Henriques</span></b></div><p \
style="margin-right:0cm;margin-left:5.65pt;font-size:12pt;font-family:New serif;" \
dir="ltr" class="ydpc8457801yiv6191941767MsoNormal"><span style="color:rgb(32, 31, \
30);"></span></p><div \
style="margin-right:0cm;margin-left:5.65pt;font-size:12pt;font-family:New \
serif;"><span style="font-size:9pt;color:rgb(0, 32, 96);border:1pt none \
windowtext;padding:0cm;">Desenvolvedor – Spassu Tecnologia</span></div><p \
style="margin-right:0cm;margin-left:5.65pt;font-size:12pt;font-family:New serif;" \
dir="ltr" class="ydpc8457801yiv6191941767MsoNormal"><span style="color:rgb(32, 31, \
30);"></span></p><p style="margin-right:0cm;margin-left:5.65pt;font-size:12pt;font-family:New \
serif;" class="ydpc8457801yiv6191941767MsoNormal"><span \
style="font-size:9pt;font-family:inherit;color:rgb(0, 32, 96);border:1pt none \
windowtext;padding:0cm;">Tel: + 55 (21) \
98065-7785</span></p></div><div><br></div><p></p><p><font \
color="royalblue"><strong></strong></font>&nbsp;</p><p>&nbsp;</p></div></div></div>  \
<div><br></div><div><br></div>  
        </div><div id="yahoo_quoted_5809509692" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, \
sans-serif;font-size:13px;color:#26282a;">  
                <div>
                    Em segunda-feira, 25 de setembro de 2023 Ã s 08:02:32 BRT, mu88 \
&lt;mu88+dev@posteo.eu&gt; escreveu:  </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv1496496222">
 
  
 
 <div>
  <div style="font-family:sans-serif;">
   <span dir="ltr" style="margin-top:0;margin-bottom:0;">Hi,</span>
   <br>
   <br><span dir="ltr" style="margin-top:0;margin-bottom:0;">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.</span>  <br>
   <br><span dir="ltr" style="margin-top:0;margin-bottom:0;">Within the docs I \
already found the option to use pgAdmin with LDAP, so hopefully accessing our AD \
should work.</span>  <br>
   <br><span dir="ltr" style="margin-top:0;margin-bottom:0;">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)?</span>  <br>
   <br><span dir="ltr" style="margin-top:0;margin-bottom:0;">Or put in other words: \
is it possible that it looks like this after container start only by configuration \
without any manual interaction? </span>  <br>
   <br><span dir="ltr" style="margin-top:0;margin-bottom:0;">Best regards!</span>
   <br>
   <br><span dir="ltr" style="margin-top:0;margin-bottom:0;">PS: you find this \
question here as well: \
https://dba.stackexchange.com/questions/331385/seed-pgadmin-roles-with-active-directory-groups-when-using-docker</span>
  <br>
  </div>
 </div>
</div></div>
            </div>
        </div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic