Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
9 Replies
17889 Tampilan

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
Buang

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.

Penulis

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.

Penulis

Yes I have restarted the server several times but nothing changed

Jawaban Terbai

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

$ sudo apt install libldap2-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Buang
Jawaban Terbai

I'm having the same problem 

Avatar
Buang
Jawaban Terbai

Do you have enabled Developper mode ?

Avatar
Buang
Penulis Jawaban Terbai

yes enabled 

Avatar
Buang
Jawaban Terbai
Try

$ sudo apt-get install -y --no-install-recommends python3-dev gcc libldap2-dev libssl-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Apr 20
4760
5
Agu 19
28977
1
Nov 18
6402
2
Mar 17
4053
3
Des 23
27499