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

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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. 

 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 20
5113
0
เม.ย. 20
5210
5
ส.ค. 19
29406
1
พ.ย. 18
6869
Odoo 11 ldap authentication แก้ไขแล้ว
9
พ.ย. 18
18402