dalibo / ldap2pg

:elephant: :busts_in_silhouette: Manage PostgreSQL roles and privileges from YAML or LDAP
https://labs.dalibo.com/ldap2pg
PostgreSQL License
211 stars 34 forks source link

Configure Python Version of ldap2pg v5.9 #588

Closed peteerwhite closed 6 months ago

peteerwhite commented 8 months ago

Hello everyone,

is it possible to tell ldap2pg v5.9 which Python version to use ?

Kind regards and thanks for help :)

bersace commented 8 months ago

Hi. Not from packages. Use pip3.X to install ldap2pg on another Python version.

peteerwhite commented 8 months ago

Okay thanks.

I am now trying to switch to ldap2pg v.6.

I am wondering if it is possible to start ldap2pg without specifying an LDAPUSER and LDAPPASSWORD

13:19:28 ERROR Fatal error. err="LDAP Result Code 206 \"Empty password not allowed by the client\": ldap: empty password not allowed by the client"

bersace commented 8 months ago

Hi @peteerwhite , Ho do you configure ldapsearch ?

peteerwhite commented 8 months ago

ldapsearch -x -H ldapuri -b ou=...,o=...,c=de cn=... member

bersace commented 8 months ago

What is the output of ldapsearch with -d 5 option ?

peteerwhite commented 8 months ago

For what specify part are you looking for ?

peteerwhite commented 8 months ago

Is there a way to disable LDAP Authentification ?

bersace commented 6 months ago

Is there a way to disable LDAP Authentification ?

LDAP supports anonymous binding. ldap2pg does not support this. I suggest you to open a new issue for this feature.