コンテンツへスキップ
メニュー
この質問にフラグが付けられました
9 返信
17883 ビュー

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
6395
2
3月 17
4048
3
12月 23
27492