跳至內容
選單
此問題已被標幟
3 回覆
7388 瀏覽次數

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. 

 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
4月 20
5113
0
4月 20
5210
5
8月 19
29406
1
11月 18
6869
9
11月 18
18402