Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
9 Antworten
17925 Ansichten

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
Verwerfen

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.

Autor

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.

Autor

Yes I have restarted the server several times but nothing changed

Beste Antwort

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

$ sudo apt install libldap2-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Verwerfen
Beste Antwort

I'm having the same problem 

Avatar
Verwerfen
Beste Antwort

Do you have enabled Developper mode ?

Avatar
Verwerfen
Autor Beste Antwort

yes enabled 

Avatar
Verwerfen
Beste Antwort
Try

$ sudo apt-get install -y --no-install-recommends python3-dev gcc libldap2-dev libssl-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Apr. 20
4836
5
Aug. 19
29001
1
Nov. 18
6424
2
März 17
4066
3
Dez. 23
27545