İçereği Atla
Menü
Bu soru işaretlendi
9 Cevaplar
17950 Görünümler

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
Vazgeç

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.

Üretici

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.

Üretici

Yes I have restarted the server several times but nothing changed

En İyi Yanıt

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

$ sudo apt install libldap2-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Vazgeç
En İyi Yanıt

I'm having the same problem 

Avatar
Vazgeç
En İyi Yanıt

Do you have enabled Developper mode ?

Avatar
Vazgeç
Üretici En İyi Yanıt

yes enabled 

Avatar
Vazgeç
En İyi Yanıt
Try

$ sudo apt-get install -y --no-install-recommends python3-dev gcc libldap2-dev libssl-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Nis 20
4853
5
Ağu 19
29022
1
Kas 18
6444
2
Mar 17
4070
3
Ara 23
27561