Skip to Content
Menu
This question has been flagged
3 Replies
6350 Views

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
Discard
Best Answer

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

Avatar
Discard
Author Best Answer

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
1
Apr 20
4205
0
Apr 20
3696
5
Aug 19
27501
1
Nov 18
5413
9
Nov 18
16768