Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
7423 Vues

Hi, 

i'm using odoo12 configured with pycharm 

and i want to know how to configure LDAP  in odoo12 step by step if it is possible 

using Microsoft Outlook mails 


Thank you 

Best Regards

Avatar
Ignorer
Meilleure réponse

Hii, 
Did you get the correct settings from your AD Server? Searching for what LDAP settings required from AD.

Avatar
Ignorer
Auteur Meilleure réponse

Yeah Exactly that's what i mean. i want them to Connect Using their windows Login and password (windows active directory accounts)

i want to know if is that  possible in community version or just The Enterprise 

Thank you for your help

best regards

Avatar
Ignorer
Meilleure réponse

Do you mean you want to use users email and not login from windows active directory accounts? Install the auth_ldap module, the settings for the LDAP should fill the system administrator of the win AD server. 

For LDAP filter:     mail=%s so you can use the mail as a login.
In odoo 10 I had to override the auth_ldap  connect method to add some settings so it works with win AD servers. Don't know if you need that in odoo 12.

connection.protocol_version = ldap.VERSION3
connection.set_option(ldap.OPT_REFERRALS, 0)

With the correct settings it should work with no problems. But you'll need the help of the system admin of the AD server, to give you the correct settings. 

 

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
avr. 20
5139
0
avr. 20
5242
5
août 19
29426
1
nov. 18
6883
9
nov. 18
18439