User登入後,OSM查詢user的email顯示為空值

Omnistor於2.14版後提供環境設定,讓使用者透過LDAP帳號於每次登入時,順便將LDAP中的email的值帶回

設定方式於AP Server進行以下步驟(逐台設定)

  • 透過LDAP第三方工具,查詢LDAP中帳號的email欄位名稱

    • 可透過LDAP Browser,如下

  • 於omnistor的broker設定中將LDAP帳號的email欄位名稱寫入設定檔

    • sudo vi /opt/ecaremeadmin/etc/authentication-broker/authenticationbrokerconfig.xml

    • 找到<user_email_attr_name>修改LDAP中的對應值

      <config> <user_email_attr_name>mail</user_email_attr_name> </config>
  • 重新啟用omnistor

    • sudo systemctl restart tomcat_omnistor

  • 請user重新登入

  • 再次於osm check結果