Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
9 Antwoorden
17885 Weergaven

Hi all;
I have installed latest odoo 11 and all its python dependencies including "python_ldap" but still cannot setup "authentication via ldap" module.
it gives an error:



Avatar
Annuleer

have you tried "sudo apt-get install python-ldap". The "python_ldap" and "python-ldap" is different. Try pip freeze and check python-ldap is installed or not.

Auteur

Yes I have installed these package and still not working

Have you restarted your service? Have you restarted your server too? Sometimes the dependency isn't recognized right away.

Auteur

Yes I have restarted the server several times but nothing changed

Beste antwoord

https://github.com/odoo/odoo/issues/20077

$ sudo apt install libldap2-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Annuleer
Beste antwoord

I'm having the same problem 

Avatar
Annuleer
Beste antwoord

Do you have enabled Developper mode ?

Avatar
Annuleer
Auteur Beste antwoord

yes enabled 

Avatar
Annuleer
Beste antwoord
Try

$ sudo apt-get install -y --no-install-recommends python3-dev gcc libldap2-dev libssl-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
apr. 20
4759
5
aug. 19
28976
1
nov. 18
6398
2
mrt. 17
4048
3
dec. 23
27493