Search Postgresql Archives

ldap connection parameter lookup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

 

I want to use ldap to lookup the connection parameters:

https://www.postgresql.org/docs/12/libpq-ldap.html

 

 

Do I have to create one static entry per database within pg_service.conf like:

 

[mydatabase]

ldap://ldap.mycompany.com/dc=mycompany,dc=com?description?one?(cn=mydatabase)

 

 

or is there also some kind of generic variant like this (meaning lookup connection parameters for the database name I tell you somehow):

 

[${PGDATABASE}]

ldap://ldap.mycompany.com/dc=mycompany,dc=com?description?one?(cn=${PGDATABASE})

 

 

Thanks, Markus

 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux