Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
9 ตอบกลับ
17918 มุมมอง

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
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 20
4825
5
ส.ค. 19
28994
1
พ.ย. 18
6422
2
มี.ค. 17
4062
3
ธ.ค. 23
27536