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

Hi everyone,

I'm using Odoo 10 and installed LDAP authentication. Now, I can login with LDAP account, and user created in Odoo.

But, with LDAP user, the login is LDAP user account (not email). So, I cannot send email message to those users.

How can I update the email for LDAP users?

頭像
捨棄
最佳答案

Users email and login are two different things. But when you create the user the login becomes its "email". The email of users are stored in the res_partner module. If you want to change the email you need to activate the developer mode. After that you'll have in users settings below the login a link to "Related partner". There you can change the users email.

Or you just set the LDAP filter from sAMAccountName=%s to mail=%s  to use emails as usernames.

頭像
捨棄
最佳答案

Ever get your answer, I am new, running into same issue

頭像
捨棄

maybe my answer will help you

最佳答案

@Samo Arko

Whenever I use "mail=%s" in LDAP filter - users are created, and they do have email, BUT! In user profile under "related partner" options - there is no email address- therefore I assume I have error - when user submits helpdesk ticket- he don't get replies from system- because there is no email address written in that "related partner" card. Any advice on that?

頭像
捨棄