Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
9 Risposte
17878 Visualizzazioni

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
Abbandona

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.

Autore

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.

Autore

Yes I have restarted the server several times but nothing changed

Risposta migliore

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

$ sudo apt install libldap2-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Abbandona
Risposta migliore

I'm having the same problem 

Avatar
Abbandona
Risposta migliore

Do you have enabled Developper mode ?

Avatar
Abbandona
Autore Risposta migliore

yes enabled 

Avatar
Abbandona
Risposta migliore
Try

$ sudo apt-get install -y --no-install-recommends python3-dev gcc libldap2-dev libssl-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 20
4759
5
ago 19
28975
1
nov 18
6394
2
mar 17
4048
3
dic 23
27490