Skip to Content
Menu
This question has been flagged
9 Replies
18074 Rodiniai

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:



Portretas
Atmesti

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.

Autorius

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.

Autorius

Yes I have restarted the server several times but nothing changed

Best Answer

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

$ sudo apt install libldap2-dev libsasl2-dev
$ sudo pip3 install pyldap
Portretas
Atmesti
Best Answer

I'm having the same problem 

Portretas
Atmesti
Best Answer

Do you have enabled Developper mode ?

Portretas
Atmesti
Autorius Best Answer

yes enabled 

Portretas
Atmesti
Best Answer
Try

$ sudo apt-get install -y --no-install-recommends python3-dev gcc libldap2-dev libssl-dev libsasl2-dev
$ sudo pip3 install pyldap
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
bal. 20
4959
5
rugp. 19
29136
1
lapkr. 18
6556
2
kov. 17
4160
3
gruod. 23
27703