Se rendre au contenu
Menu
Cette question a été signalée
9 Réponses
17899 Vues

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
Ignorer

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

Meilleure réponse

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

$ sudo apt install libldap2-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Ignorer
Meilleure réponse

I'm having the same problem 

Avatar
Ignorer
Meilleure réponse

Do you have enabled Developper mode ?

Avatar
Ignorer
Auteur Meilleure réponse

yes enabled 

Avatar
Ignorer
Meilleure réponse
Try

$ sudo apt-get install -y --no-install-recommends python3-dev gcc libldap2-dev libssl-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Ignorer
Publications associées Réponses Vues Activité
0
avr. 20
4769
5
août 19
28978
1
nov. 18
6411
2
mars 17
4056
3
déc. 23
27518