跳至内容
菜单
此问题已终结
9 回复
17886 查看

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:



形象
丢弃

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.

编写者

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.

编写者

Yes I have restarted the server several times but nothing changed

最佳答案

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

$ sudo apt install libldap2-dev libsasl2-dev
$ sudo pip3 install pyldap
形象
丢弃
最佳答案

I'm having the same problem 

形象
丢弃
最佳答案

Do you have enabled Developper mode ?

形象
丢弃
编写者 最佳答案

yes enabled 

形象
丢弃
最佳答案
Try

$ sudo apt-get install -y --no-install-recommends python3-dev gcc libldap2-dev libssl-dev libsasl2-dev
$ sudo pip3 install pyldap
形象
丢弃
相关帖文 回复 查看 活动
0
4月 20
4759
5
8月 19
28976
1
11月 18
6398
2
3月 17
4048
3
12月 23
27493