Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
9 Odpovědi
18034 Zobrazení

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
Zrušit

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.

Autor

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.

Autor

Yes I have restarted the server several times but nothing changed

Nejlepší odpověď

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

$ sudo apt install libldap2-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Zrušit
Nejlepší odpověď

I'm having the same problem 

Avatar
Zrušit
Nejlepší odpověď

Do you have enabled Developper mode ?

Avatar
Zrušit
Autor Nejlepší odpověď

yes enabled 

Avatar
Zrušit
Nejlepší odpověď
Try

$ sudo apt-get install -y --no-install-recommends python3-dev gcc libldap2-dev libssl-dev libsasl2-dev
$ sudo pip3 install pyldap
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 20
4878
5
srp 19
29062
1
lis 18
6484
2
bře 17
4096
3
pro 23
27665